note 27410 deleted from function.isset by sniper

From: Date: Mon, 06 Oct 2003 02:56:48 +0000
Subject: note 27410 deleted from function.isset by sniper
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-57864@lists.php.net to get a copy of this message
Note Submitter: dadarden@iti2.net ---- 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.

« previous php.notes (#57864) next »