Just wondered if any of you guys can help me.
I have an edit form which is populated by existing database information, the form allows users to change details and some of the details can be changed by drop down menus.
Now these menus are created by an external function that just created the, say option 1-12 instead of having to insert lots of <option> tags.
When the form is populated the current value is inserted based on the value in the database like this:
<select name="partyno">
<option value=""><?php echo $party ?></option>
<?php display_party_num(); ?>
</select>
my problem is that unless you change the current value of the dop down menu when you click the update button, the field becomes empty and does not store the value that it previously had.
Can anyone suggest a way of getting round this problem, sorry for the long explanation btw.
NCC1701