• Log in or sign up for an account here: https://www.sythe.org/login

A question regarding dropdown menus and carry overs

tomnothere

Forum Addict

Banned
Joined
Jan 23, 2007
Sythe Gold
0
Messages
578
Location
You house BITCH!!!
Okay, so if you were to put down a html page that has a drop down menu with options to select items in that drop down menu.

Once your "visitor" selected an item, he or she proceeds to click the submit button below. If I want that submit button to direct them to a page that'll display what item they chose in the drop down menu from the previous page, how do I do that?

i.e. If the drop down menu has 4 options: laptop, wallet, keys, tv.

The visitor chooses laptop, option 1. And he or she clicks the submit button below the drop down menu. It'll redirect them to a page that displays "You have chosen a 'laptop'".

The same would happen if he or she chose wallet, keys, or tv with the corresponding page displaying 'You have chosen a 'wallet'" and etc.


Here's the code that I have-
<div id="select">
<select name="plugin" id="plugin">
<option value="1" selected=&quot;selected&quot;><center>Select</center></option>
<option value="2">Lexus</option>
<option value="3">Limited Edition lap-top</option>
<option value="4">USB Flash Drive</option>
<option value="5">Mystery Gift</option>
</select>
</div>






Any help?
 
$_POST['plugin']
 
Runescape Gamblingrunescape gambling
Back
Top