View Full Version : How to pass a combo box value to next page?

05-09-2006, 07:43 AM
hi all,
i've a combo box filled with values. i need to pass the value of the selected value to the next page.how do i do it.plz help.

05-09-2006, 09:15 AM
<form name="blah" method="post" action="form_process.php">
<select NAME="combo">
<option VALUE="value1">Value 1
<option VALUE="value2">Value 2

In form_process.php:

$combo = $_POST['combo']; // $combo will equal either "value1" or "value2"