note 22060 deleted from language.variables.external by philip
| From: | philip@php.net | Date: | Mon, 08 Jul 2002 17:47:03 +0000 |
| Subject: | note 22060 deleted from language.variables.external by philip | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-32747@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?