Davey Gale
02-07-2005, 03:00 PM
Dear All
I am competent at setting up a php script that sends the results of a form to a mysql database. (this is using basic text fields).
I want to create a form that gives the user about 4 or 5 different questions and instead of a text box there is a drop down menu next to each question for them to pick a few different options.
e.g. Question: How old are you?
Answers: 0-18 / 19-30 / 31-45
Then when the visitor has answered all the questions they click submit and the results are delivered to the database.
Can anyone give me the basic script for this or point me to a tutorial, with one example question?
I am competent at setting up a php script that sends the results of a form to a mysql database. (this is using basic text fields).
I want to create a form that gives the user about 4 or 5 different questions and instead of a text box there is a drop down menu next to each question for them to pick a few different options.
e.g. Question: How old are you?
Answers: 0-18 / 19-30 / 31-45
Then when the visitor has answered all the questions they click submit and the results are delivered to the database.
Can anyone give me the basic script for this or point me to a tutorial, with one example question?
