you need to specify those extra braces for any
multi-select HTMl object

i had the same problem with a:
<SELECT NAME="..." MULTIPLE> 



> -----Original Message-----
> From: Johnson, Kirk [mailto:[EMAIL PROTECTED]]
> Subject: RE: [PHP] Not losing variables in forms w/ checkboxes
> 
> Just append a pair of brackets to the NAME in the FORM: suspendingAgent[].
> This will create an array for the boxes that get checked.
> 
> To get the array to a comma separated list on the processing page, try:
> 
> $string = implode (",", $suspendingAgent);
> 
> Kirk

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to