> Hello.  I have a form that I would like to use checkboxes.  these
> checkboxes
> are created dynamically.  I've been told that if I want to manipulate
> one then I should use 'name=checkbox[]' and make an array out of it.
> okay,
> fine.  but how do i access them in my PHP script? I know I have to use
> $_POST[] array, but this creates a multidiminsional array, yes? do i
> access
> it like $_POST[checkbox[1]]?? or $_POST[checkbox][1]??

Yes, the second one, only with single quotes.


Note that arrays start at zero, too.

---John Holmes...

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to