First of all I am a complete newbie so please go easy on me. I am trying to create a form in PHP that will create a user account in MYSQL. In the form I want a drop down menu for the user to choose the state they reside in. I have the drop down working but can figure out how to send that selected value to my SQL database. My text fields are done with this:
So how do I get the drop down selection to populate my custom3 field?
Code:
<input type="text" name="custom2" maxlength="255" size="30" value="<?php echo $custom2; ?>">