subtmiting the dropdown option selected to the database

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • DavidOwens
    New Member
    • Mar 2007
    • 56

    subtmiting the dropdown option selected to the database

    Hey guys

    i have a list of stores listen in a drop down, the user pics the store, but then i would like that option to be entered into the database.

    there are 25 drop down boxs in the table, so 25 enteries will be made in the dtabase for the fowllowing days sat,mon,tues,we ds,thurs,fri,

    i have the table already setup in the database, just need to know how to take the data from the form.

    i have php code to display the option in the table, just dont know were to start the code to do the INSERT INTO
  • DavidOwens
    New Member
    • Mar 2007
    • 56

    #2
    Originally posted by DavidOwens
    Hey guys

    i have a list of stores listen in a drop down, the user pics the store, but then i would like that option to be entered into the database.

    there are 25 drop down boxs in the table, so 25 enteries will be made in the dtabase for the fowllowing days sat,mon,tues,we ds,thurs,fri,

    i have the table already setup in the database, just need to know how to take the data from the form.

    i have php code to display the option in the table, just dont know were to start the code to do the INSERT INTO
    any advice guys? its really really bugging me

    Comment

    • Motoma
      Recognized Expert Specialist
      • Jan 2007
      • 3236

      #3
      Originally posted by DavidOwens
      any advice guys? its really really bugging me
      If this question is as simple as it appears to be, I would suggest looking up a PHP MySQL tutorial from one of the many free online resources available before asking in a forum such as this.

      Quite simply, your form will POST to another PHP page, which will validate the $_POST values, and then insert the validated data into your database.

      Comment

      Working...