Re: checkboxes problem
| From: | Zoltán Németh | Date: | Wed, 30 May 2007 09:04:38 +0000 |
| Subject: | Re: checkboxes problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-255787@lists.php.net to get a copy of this message | ||
2007. 05. 30, szerda keltezéssel 09.59-kor blueboy ezt írta:
> Hi,
>
> I have a checkbox array (about 20 lines)
>
> input name=\"box\" type=\"checkbox\" value=\"$id\">
> input name=\"box\" type=\"checkbox\" value=\"$id\">
> input name=\"box\" type=\"checkbox\" value=\"$id\">
input name=\"box[]\" type=\"checkbox\" value=\"$id\">
greets
Zoltán Németh
>
> I do some client side checking with javascript however the javascript array
>
> name=\"box\"
>
> does not match the php version,
>
> name=\"box[]\"
>
> So either my client side stuff works or the php array only returns 1 value
> when posted. Is there any way to for this to work?
>
>
> R.
>