note 22061 deleted from language.variables.external by philip
| From: | philip@php.net | Date: | Mon, 08 Jul 2002 17:47:01 +0000 |
| Subject: | note 22061 deleted from language.variables.external by philip | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-32746@lists.php.net to get a copy of this message | ||
(note to ed: this should probably be appended to my last post)
Interestingly, while explicitly setting the index for each input checkbox _sets_ the corresponding
array element, when *zero* checkboxes are checked the entire array becomes _unset_. Although this
is not what might be expected behaviour and is probably a side effect of the way this functionality
was programmed, it had the unintentional side-benefit(?) of simplifying my code. However, I'm
not sure if I can count on this behaviour staying the same in future versions of PHP. Comments,
anyone?