Many variables. I want one array. How?
| From: | Marko Perich | Date: | Tue, 28 Nov 2000 17:17:04 +0000 |
| Subject: | Many variables. I want one array. How? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-27608@lists.php.net to get a copy of this message | ||
Hello.
My problem is that i am creating a form from a .php page and that page can
have from 1 to many rows. In each row there is a checkbox named "cbX", where
X is the number of the row.
I want the .php called from the previous submit to have access to the cbX
variables in an array (so i can work with it into a for loop).
JavaScript does it automagically if I give the checkbox the same name (say
just "cb"), but in php I don't know how.
Any suggestion, clues, alternatives are gracefully accepted.
Thanks.
Marko.