note 22061 added to language.variables.external
| From: | jbperez808 at yahoo dot com | Date: | Wed, 05 Jun 2002 08:50:33 +0000 |
| Subject: | note 22061 added to language.variables.external | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-31481@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?
--
http://www.php.net/manual/en/language.variables.external.php
http://master.php.net/manage/user-notes.php?action=edit+22061
http://master.php.net/manage/user-notes.php?action=delete+22061
http://master.php.net/manage/user-notes.php?action=reject+22061