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)
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
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
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'
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
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
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
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
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
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 .
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]
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
12 matches
Mail list logo