How Can I Get The DropDown List value on Next Page ?
Posted: Tue Dec 06, 2005 1:56 pm
here is the code of
page1.php
now i want to display on DISPLAY.PHP
the value of that which user selected in dropdownlist
like user select red option. then on next page there shuld b display RED and also there shuld b display RED COLOR.......
can any one tell me how can i dot this ?
page1.php
Code: Select all
<html>
<head>
<title>My Page</title>
</head>
<body>
<form name="myform" action="display.php">
<div align="center">
<select name="mydropdown">
<option value="color1">black</option>
<option value="color2">red</option>
<option value="color3">Orange</option>
</select>
</div>
</form>
</body>
</html>the value of that which user selected in dropdownlist
like user select red option. then on next page there shuld b display RED and also there shuld b display RED COLOR.......
can any one tell me how can i dot this ?