if ( isset ( $_POST['shipper_save'] ) ) {
	echo ( "It's Checked" );
}

Or use $_GET['shipper_save'] depending on your forum method.

DonPro wrote:
Hi,

I have a form with a checkbox like so:
<input type="checkbox" value="ON" name="shipper_save">

When I submit, the value is always shown as "ON" regardless of whether I've
checked the checkbox or not.  So this begets the question, How can I code my
PHP form processing script to determine whether the checkbox was checked?

Thanks,
Don





--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to