please how can i create a form with three drop down list menu and when submit button is clicked it return a result depending on the choice made from the drop down menu
achiman
0
Junior Poster in Training
Recommended Answers
Jump to Post<?php if($_POST){ echo 'submitted were<br>'; foreach ($_POST as $key => $value) { echo $key." value ".$value.'<br>';} } ?> <form action='<?php echo $_SERVER['php_self']; ?>' method='post'> choice 1<select name='1'> <option value='big'> big</option> <option value='blue'> blue</option> <option value='marble'> marble</option> </select> choice 2<select name='2'> <option value='big'> big</option> <option value='blue'> blue</option> …
All 2 Replies
darkagn
315
Veteran Poster
Featured Poster
almostbob
866
Retired: passive income ROCKS
darkagn
commented:
Haha, I particularly like the 'Exterminate' submit button :)
+3
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.