Re: Multiple value selection box (mix php/html problem) returning only one value

From: Date: Tue, 22 May 2001 14:34:41 +0000
Subject: Re: Multiple value selection box (mix php/html problem) returning only one value
References: 1 2  Groups: php.windows 
Request: Send a blank email to php-windows+get-7830@lists.php.net to get a copy of this message
I tried the [] inside & outside the quotes, only difference was that inside gave me Key: 0, Value: ACL[] outside gave me Key: 0, Value: ACL Since we changed the %s to an array I changed the Explode statement and the while .... Got the message that $earnType not an array ..... Got an idea ...... hold on Michael Kelley wrote:
Nope, output is now Key: 0, Value: ACL[] instead of Key: 0, Value: ACL Matt Williams wrote:
Hi Michael Try changing this line
printf("<option value = \"%s\">%s</option>",
To printf("<option value = \"%s[]\">%s</option>", This should solve your problem HTH M@
-- Michael Kelley mkelley@nmsu.edu Programmer/Systems Analyst I New Mexico State University Information and Communication Technologies Work # (505)-646-1374 P.O. Box 30001 MSC: 3AT Las Cruces, NM 88003

« previous php.windows (#7830) next »