Here is what I have so far.
CODE
<select name="DesignerSupervisor" id="DesignerSupervisor">
<option selected="selected">Choose One...</option>
<?
$sql_result = "SELECT SuperName FROM supervisors";
while ($row = mysql_fetch_array($sql_result)) {
extract($row);
echo "<option value='$name'>$name</option>";
}
?>
</select>
I am extremely new to PHP and I am trying to make it where it will grab the SuperName from the supervisors table no matter how many names are in there and then setup an option for each one.
Obviously this doesn't work yet, it's a combination of stuff I have found on this board and some others.
If anyone has any pointers it would be appreciated.
This isn't homework, it's not for work work, it's me trying to teach myself PHP and being too poor to afford a decent book because gas is too damned expensive.
I'm not looking for you to solve it and write the code for me, but someone who can help out would be appreciated.
Thanks!