the population is in the drop down menu already, was trying to get the default selection in that drop down menu for what ever was in the db.
i am not a php wiz, kinda starting out and very new to it.
what do you think would be the easiest way to get this solution completed?
these are the drop down menus (and of course, the ones in the register form are the same, just inserts the selection into the mysql db)
<select name="gender" id="gender">
<option name="male">Male</option>
<option name="female">Female</option>
</select>
and
<select name="iam" id="iam">
<option name="blind">Blind</option>
<option name="impaired">Visually Impaired</option>
<option name="sighted">Sighted</option>
</select>
and
<select name="status" id="status">
<option name="single">Single</option>
<option name="married">Married</option>
<option name="divorced">Divorced</option>
<option name="widow">Widow</option>
<option name="na">No Answer</option>
</select>
last one is
<select name="children" id="children">
<option name="yes">Yes</option>
<option name="no">No</option>
</select>
MySQL db is:
CREATE TABLE login (
id int(11) NOT NULL auto_increment,
username varchar(250) NOT NULL default '',
password varchar(250) NOT NULL default '',
email varchar(250) NOT NULL default '',
fname varchar(250) NOT NULL default '',
sname varchar(250) NOT NULL default '',
country text NOT NULL,
city text NOT NULL,
interests text NOT NULL,
age text NOT NULL,
iam text NOT NULL,
gender text NOT NULL,
school text NOT NULL,
status text NOT NULL,
aboutu text NOT NULL,
whyjoin text NOT NULL,
hobbies text NOT NULL,
children text NOT NULL,
memberstatus varchar(8) NOT NULL default 'Member',
userpic varchar(255) NOT NULL default '',
userpicalt varchar(255) NOT NULL default '',
warned varchar(9) NOT NULL default 'No (0/0)',
PRIMARY KEY (id)
) TYPE=MyISAM;