note 27410 added to function.isset

From: Date: Wed, 04 Dec 2002 22:12:35 +0000
Subject: note 27410 added to function.isset
Groups: php.notes 
Request: Send a blank email to php-notes+get-40355@lists.php.net to get a copy of this message
An HTML POST'ed checkbox variable unsets itself if it is not checked. If you have code that checks to see if you have been to that form before (e.g. a form that refers to itself) and resets the checkbox based on that criteria, then you may need to use isset() on a different variable (one that is not a checkbox). If you only have checkboxes on the form you can check for the submit button variable. -- http://www.php.net/manual/en/function.isset.php http://master.php.net/manage/user-notes.php?action=edit+27410 http://master.php.net/manage/user-notes.php?action=delete+27410 http://master.php.net/manage/user-notes.php?action=reject+27410

« previous php.notes (#40355) next »