Re: [PHP-WIN] Multiple value selection box (mix php/html problem) **SOLUTION**

2001-05-23 Thread Michael Kelley
SUCCESS (man do I feel STOOPID!!) A duh my cursor was at the end of the array (THIS WHOLE TIME!!) The reset was needed trick Thanks M@ Matt Williams wrote: > Hi Michael > > Just tried this > - > > > 1 > 2 > 3 > > > > reset ($list)

RE: [PHP-WIN] Multiple value selection box (mix php/html problem) returning only one value

2001-05-23 Thread Matt Williams
Hi Michael Just tried this - 1 2 3 $val"; } ?> And it prints 0 => 1 1 => 2 2 => 3 OK on to the few HTML probs I've found They are tabnle related really. no opening table tag closing table tag come

Re: [PHP-WIN] Multiple value selection box (mix php/html problem) returning only one value

2001-05-22 Thread Michael Kelley
name like this > > > document.frmForm.selTest.name = "selTest[]"; > > > It worked for me with multiple check boxes. > > Vasu > > > > > From: Michael Kelley <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Re: [PHP-WIN] M

Re: [PHP-WIN] Multiple value selection box (mix php/html problem) returning only one value

2001-05-22 Thread Vasu Gokaraju
iple check boxes. Vasu From: Michael Kelley <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Re: [PHP-WIN] Multiple value selection box (mix php/html problem) returning only one value Date: Tue, 22 May 2001 12:20:16 -0600 Sorry Matt, That returns Key: 0, Value: Array If you don'

Re: [PHP-WIN] Multiple value selection box (mix php/html problem)

2001-05-22 Thread Michael Kelley
Svensson, B.A.T. wrote: > I am not sure I get what it is you want to do > > >> Situation: >> I'm using a DB query to bring back a list of values to populate a >> selection box on a form. I would like the user to be able to select >> multiple values. > > > I dont understand this. You c

Re: [PHP-WIN] Multiple value selection box (mix php/html problem) returning only one value

2001-05-22 Thread Michael Kelley
Sorry Matt, That returns Key: 0, Value: Array If you don't mind, point out the suspect HTML Matt Williams wrote: > Hi Michael > > Sorry brain fade > > Try changing your selectname to earnType[] > > >> print ""; > > >> print ""; > > > Also I don't know if that's all your code but there i

RE: [PHP-WIN] Multiple value selection box (mix php/html problem) returning only one value

2001-05-22 Thread Matt Williams
Hi Michael Sorry brain fade Try changing your selectname to earnType[] > print ""; > print ""; Also I don't know if that's all your code but there is some suspect html in there M@ -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional co

RE: [PHP-WIN] Multiple value selection box (mix php/html problem) returning only one value

2001-05-22 Thread Svensson, B.A.T.
I am not sure I get what it is you want to do >Situation: >I'm using a DB query to bring back a list of values to populate a >selection box on a form. I would like the user to be able to select >multiple values. I dont understand this. You can only select one item from a selct box(?). >As

[Fwd: Re: [PHP-WIN] Multiple value selection box (mix php/html problem) returning only one value]

2001-05-22 Thread Michael Kelley
My idea NO WORK, I tried replacing the value = \"%s\" with versions of value = \"$earnType\"[] value = \"$earnType[]\" value = earnType[] value = $earnType[] Still not what I'm looking for Michael Kelley wrote: > I tried the [] inside & outside the quotes, only difference was that > inside

Re: [PHP-WIN] Multiple value selection box (mix php/html problem) returning only one value

2001-05-22 Thread Michael Kelley
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 .

Re: [PHP-WIN] Multiple value selection box (mix php/html problem) returning only one value

2001-05-22 Thread Michael Kelley
Nope, output is now Key: 0, Value: ACL[] instead of Key: 0, Value: ACL Matt Williams wrote: > Hi Michael > > Try changing this line > > >> printf("%s", > > > To > > printf("%s", > > This should solve your problem > > HTH > > M@ -- Michael Kelley [EMAIL PROTECTED]

RE: [PHP-WIN] Multiple value selection box (mix php/html problem) returning only one value

2001-05-22 Thread Matt Williams
Hi Michael Try changing this line > printf("%s", To printf("%s", This should solve your problem HTH M@ -- PHP Windows 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