Posted by J.O. Aho on 01/10/07 13:49
Brian wrote:
> Hi
>
> I'm sure I have done this before but I can't find the code.
> I have form with 10 checkboxes on it, the name of
> the checkboxes are the same but the values are
> different.
>
> Im sure these would be submitted as an array, but
> how do I get the value out of each one?
> I think its something like
>
> foreach($checkbox) {
> $output .= $checkbox
> }
>
> But it's not working, what am I missing here?
Did you remember to do
$checkbox=$_REQUEST['checkbox'];
--
//Aho
[Back to original message]
|