note 34134 deleted from language.types.array by googleguy
| From: | googleguy@php.net | Date: | Sat, 12 Jan 2013 15:43:06 +0000 |
| Subject: | note 34134 deleted from language.types.array by googleguy | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-192999@lists.php.net to get a copy of this message | ||
Note Submitter: akamai at veloxmail dot com dot br
----
It is quite simple, but don't forget when you'll using foreach with forms arrays.
If your field name is:
<input type="checkbox" name="foo['bar'][]" ...
It doesn't work.
This should work:
<input type="checkbox" name="foo[bar][]" ...