after my form has been submitted I want it to remember the option that has been chosen from the drop down list. I now you use SELECTED but not sure how to get it into my code.
this is how my dropdown list is built:
while ($row=mysql_fetch_array($result)) {
$name=$row["name"];
$options.="<OPTION VALUE=\"$name">".$name.'</option>';
}
the html code looks like this:
<select name="hometeam">
<OPTION VALUE=0>Please choose the home team
<?php echo $options ?>
</select>
thanks for any help