This will work:
http://www.php.net/array_merge
Call your checkboxes like so:
a.php
==
==
then post it to the desired page and do something like
if you can't use [] for the checkbox, the only way out is to have unique
name for each checkbox.
otherwise, php will always be returning the value of the last checked
checkbox if all checkboxes share the same name without the [].
--lance
Alex Shi wrote:
> How to ontain data from a group of ch
Why cant you use square brackets??
call all your checkboxes the following:
interesting_area[]
Then post it to whatever page, now all the checkboxes that were checked are
held in a array (interesting_area)
To see what is contained in the array, do the following:
";
print_r($_PO
Why you can't use square brackets?
"Alex Shi" <[EMAIL PROTECTED]> escribió en el mensaje
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> How to ontain data from a group of checkbox using same name?
> For example, in a form there're 6 checkboxes and all named as
> "Interesting_Area". I know if put a
4 matches
Mail list logo