checkboxes / form elements
| From: | Blue Presley | Date: | Sat, 13 Jul 2002 02:59:00 +0000 |
| Subject: | checkboxes / form elements | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-107464@lists.php.net to get a copy of this message | ||
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 each
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 the
$_POST[] array, but this creates a multidiminsional array, yes? do i access
it like $_POST[checkbox[1]]?? or $_POST[checkbox][1]??
any info is appreciated.
thanks,
blue