Hey,
I'm working on the last bit of an ongoing project I've been working on for the past few months and this is something I've never actually had the experience in working with. For the record I don't code PHP.
In short: I have a preexisting html/php form which gets the values for all information entered into the fields and submits them to a database. Currently all of the fields are Textfields, Textareas and Image Uploads, and now I'm in need of adding an HTML dropdown/select box with 4 options - north, south, east, and west.
Creating the html box is easy but how to i get the value that is selected to be the one that is sent to the database. And what fields do I need to create in the database table to coincide with the select form.
Note* This isn't a dynamic dropdown list; I don't need to get the values from the database just submit them to the database.
Tags: