note 22060 added to language.variables.external
| From: | jbperez808 at yahoo dot com | Date: | Wed, 05 Jun 2002 08:23:37 +0000 |
| Subject: | note 22060 added to language.variables.external | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-31480@lists.php.net to get a copy of this message | ||
Another way to get around the problem of unchecked checkboxes not returning as part of the POST
variable array is to use the following style of declaration instead:
<input type="checkbox" name="cb[0]">
<input type="checkbox" checked name="cb[1]">
<input type="checkbox" name="cb[2]">
This seems to properly return $cb as an array. Not sure if this works for earlier versions of PHP
though. Can anyone answer that?
--
http://www.php.net/manual/en/language.variables.external.php
http://master.php.net/manage/user-notes.php?action=edit+22060
http://master.php.net/manage/user-notes.php?action=delete+22060
http://master.php.net/manage/user-notes.php?action=reject+22060