Rind asked:
How to make a form using HTML/PHP with conditional responses that are based on selection? For instance: drop down menu selections that determine the message on the confirmation screen.
How to make a form using HTML/PHP with conditional responses that are based on selection? For instance: drop down menu selections that determine the message on the confirmation screen.


3 Comments to 'How to make a form using HTML/PHP with conditional responses that are based on selection?'
March 24, 2010
Uh, that’s an awful lot of programming for anyone to answer it simply here.
First, you need to learn how HTML forms work.
Then you need to learn how PHP can accept and handle data submitted by an HTML form.
March 26, 2010
Alright - as the first person stated: It will take a bit more code than anyone really has time to put in here, but this should get you started:
HTML FORM:
Volvo
Saab
Mercedes
Audi
There’s a simple form with a selection box with cars in it. Simple, right? Good!
PHP SCRIPT, file name: submit.php
Like I said, this is a really basic example. I’d suggest learning more about PHP at the following:
March 27, 2010
You may like to take an html tutorial at
Leave a comment