note 19011 added to language.variables.external

From: Date: Wed, 13 Feb 2002 13:58:37 +0000
Subject: note 19011 added to language.variables.external
Groups: php.notes 
Request: Send a blank email to php-notes+get-26548@lists.php.net to get a copy of this message
If you're using a checkbox as boolean in your form, it doesn't appear in the $HTTP_POST_VARS when it's unchecked. When you really need to know it's keyname, even if it's unchecked, put an hidden input with the unchecked value before the checkbox. Do it like this: <input type=hidden value=0><input type=checkbox value=1> -- http://www.php.net/manual/en/language.variables.external.php http://master.php.net/manage/user-notes.php?action=edit+19011 http://master.php.net/manage/user-notes.php?action=delete+19011 http://master.php.net/manage/user-notes.php?action=reject+19011

« previous php.notes (#26548) next »