joeltonnberg
August 25th, 2007, 05:35 AM
Hi!
I want to set the initial value in a ordinary drop down menu dynamically, depending on the value from a recordset.
for example, if I have a menu as such:
<select>
<option>option 1</option>
<option>option 2</option>
<option>option 3</option>
</select>and want the selected option when page load to correspond with the following:
<?php echo $row_Recordset['option']; ?>how would I go about to do that?
I want to set the initial value in a ordinary drop down menu dynamically, depending on the value from a recordset.
for example, if I have a menu as such:
<select>
<option>option 1</option>
<option>option 2</option>
<option>option 3</option>
</select>and want the selected option when page load to correspond with the following:
<?php echo $row_Recordset['option']; ?>how would I go about to do that?