Re: Q: How to get the value of a checkbox of which name without '[]'?
| From: | Frode | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | Re: Q: How to get the value of a checkbox of which name without '[]'? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-159946@lists.php.net to get a copy of this message | ||
[...snip...]
Which means I can't modify the code above into PHP prefered
style:
<input type=checkbox name="box[]" value=1>
<input type=checkbox name="box[]" value=2>
...
[...snip...]
Why is this the preferred style, and where can I read more about it?
Frode Lillerud, Norway