I have some drop down boxes being populated from a table:
print"<td><select name=project>";
if($project=mysql_fetch_array($pro))
{
do{
print"<option value='$project[proj_name]'>$project[proj_name]";
}
while($project=mysql_fetch_array($pro));
}
else{}
Now my question is, how can i make the value that is selected equal to another variable ie: $myrow[project], upon loading. Any ideas?
M