The syntax as I have used it is (not the cleanest or best way to do
it by a long run - but it works):
>
this will have the checkbox be checked by default, also you can do what
ever other things you need to do based on the on/off conditions.
On Fri, 1 Nov 2002 10:47:43 -0500
"DonPro" <[EMAIL PRO
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:
When I submit, the value is always shown as "ON" regardless of whether I've
checked the checkbox or not.
Hi,
I have a form with a checkbox like so:
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 Ge
3 matches
Mail list logo