Hi
I have a form which contains several fields. One of which is a group of
checkboxes that can all be selected, and if they are - all values should be
passed as an array.
Each checkbox is Named as follows. myCheckBoxName[]
myCheckBoxName[]
I have the following code on the following page to pick up the results from
the querystring.
while(list($key , $value) = each($HTTP_POST _VARS))
{
$keys = $keys . "$key, ";
$values= $values . "'$value', ";
echo("$key = $value <br>" );
}
But the field which contains multiple checkboxes only displays the value
"array" - and nothing else.
Any ideas.
Thanks
AL
I have a form which contains several fields. One of which is a group of
checkboxes that can all be selected, and if they are - all values should be
passed as an array.
Each checkbox is Named as follows. myCheckBoxName[]
myCheckBoxName[]
I have the following code on the following page to pick up the results from
the querystring.
while(list($key , $value) = each($HTTP_POST _VARS))
{
$keys = $keys . "$key, ";
$values= $values . "'$value', ";
echo("$key = $value <br>" );
}
But the field which contains multiple checkboxes only displays the value
"array" - and nothing else.
Any ideas.
Thanks
AL
Comment