I've generated a html form including a drop down menu which looks a little like this
Code: Select all
<select name='choice'>
<option value='1'>an option</option>
<option value='2'>a second option</option>
</select>The reason I want this is that I want to present the user with a nice choice, but just insert '1' into my database.
Can anyone help me out here?
Many thanks