or="#cc">
<td valign="middle" height="25" class="raceresutlstitle"
bgcolor="#cc">Race
Report:</td>
<td valign="middle" bgcolor="#cc">
<textarea name="RaceReport" cols
If I understand your question, when editing an existing record where
StateID = "CA", you want the drop-down to show "California" as
selected.
You need to add a little code into your while loop to echo "SELECTED"
into the appropriate "option" tag.
-Dan
--- Steve Fitzgerald <[EMAIL PROTECTED]> w
cting Drop Down Value From DB to Edit
I have the below code that populates a drop down list. The code will
correctly insert the value $StateID into another a table. The problem I am
running into is that when I select the record to edit the drop-downlist has
the first option as the value instead of wha
I have the below code that populates a drop down list. The code will
correctly insert the value $StateID into another a table. The problem I am
running into is that when I select the record to edit the drop-downlist has
the first option as the value instead of what the corresponding StateID in
the