Jump to content

POST sending the wrong value


AdRock

Recommended Posts

I have a form with a select box

	    <select name="seats" class="form" style="width:75px">
	<option value="any" selected>Any</option>
	<option value="1">1</option>
	<option value="2">2</option>
	<option value="3">3</option>	
	<option value="4">4</option>
	<option value="5">5</option>
    </select>

and this is the $_POST

$seats = $_POST['seats'];

 

when i $_REQUEST on the next page and echo out the result, i always get 1.....why is this?

Link to comment
https://forums.phpfreaks.com/topic/97008-post-sending-the-wrong-value/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.