Hello!
I have an update page where I have a dropdown menu with some options.
The problem I have, is that I would like to get in that menu the actual value of the register I want to update instead of the "Initially Selected" option of the menu.
Lets say:
<select name="menu" size="1" id="select">
<option value="" selected>Select an option</option>
<option value="Cars">Cars</option>
<option value="Planes">Planes</option>
</select>
In this menu the Initial value is "select an option". How can I automatically get in the menu the option 2 and 3 depending the Data base?
Any help will be appreciated!
Thank you