PHP Form / MYSQL newbie question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • imark34
    New Member
    • Apr 2010
    • 1

    #1

    PHP Form / MYSQL newbie question

    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:

    Code:
    <input type="text" name="custom2" maxlength="255" size="30" value="<?php echo $custom2; ?>">
    So how do I get the drop down selection to populate my custom3 field?
    Last edited by Dormilich; Apr 28 '10, 07:11 AM. Reason: Please use [code] tags when posting code
Working...