I am trying to pass the values of a select box which can have more than one
value to a page.
In the address bar of the page i have sent to, I have
select=item1select=item2select=item3select=item4select=item5select=item6
on the page i have
echo $select
but only the last item (item6) is being
Change the name of your select field to select[]
select name=whatever[] multiple
Craig wrote:
I am trying to pass the values of a select box which can have more than one
value to a page.
In the address bar of the page i have sent to, I have
Where are the selected values coming from?
Please provide more details and code...we cannot read your mind...
- Original Message -
From: Craig [EMAIL PROTECTED]
To:
Sent: Tuesday, October 29, 2002 9:19 AM
Subject: [PHP] Select values in an array???
I am trying to pass the values
You don't even need the word multiple
- Original Message -
From: John Nichel [EMAIL PROTECTED]
To: Craig [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, October 29, 2002 9:27 AM
Subject: Re: [PHP] Select values in an array???
Change the name of your select field to select
, October 29, 2002 9:27 AM
Subject: Re: [PHP] Select values in an array???
Change the name of your select field to select[]
select name=whatever[] multiple
Craig wrote:
I am trying to pass the values of a select box which can have more than one
value to a page.
In the address bar of the page i have
I've used it without multiple many times
- Original Message -
From: John Nichel [EMAIL PROTECTED]
To: Rick Emery [EMAIL PROTECTED]
Cc: Craig [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday, October 29, 2002 9:33 AM
Subject: Re: [PHP] Select values in an array???
You do if you want
multiple many times
- Original Message -
From: John Nichel [EMAIL PROTECTED]
To: Rick Emery [EMAIL PROTECTED]
Cc: Craig [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday, October 29, 2002 9:33 AM
Subject: Re: [PHP] Select values in an array???
You do if you want to select multiple
: Tuesday, October 29, 2002 9:27 AM
Subject: Re: [PHP] Select values in an array???
Change the name of your select field to select[]
select name=whatever[] multiple
Craig wrote:
I am trying to pass the values of a select box which can have more than
one
value to a page.
In the address bar
Hello,
Rick Emery [EMAIL PROTECTED] wrote:
[snip]
I've used it without multiple many times
[/snip]
Of course. But, John was correct--you can only choose one.
UNLESS you use multiple, you won't be able to select multiple
values ;)
What seems to be the problem here... html? :)
- E
--
PHP
: Craig [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday, October 29, 2002 9:33 AM
Subject: Re: [PHP] Select values in an array???
You do if you want to select multiple values from a select element.
Otherwise, you can only select one.
Rick Emery wrote:
You don't even need the word multiple
I HAVE selected multiple items without including MULTIPLE.
- Original Message -
From: John Nichel [EMAIL PROTECTED]
To: Rick Emery [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, October 29, 2002 9:54 AM
Subject: Re: [PHP] Select values in an array???
Then you were not able
.
Yes, this page works...
http://www.preferred-pet.com/volunteer/volunteer.php
- Original Message -
From: John Nichel [EMAIL PROTECTED]
To: Rick Emery [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, October 29, 2002 9:54 AM
Subject: Re: [PHP] Select values in an array???
Then you
-Original Message-
From: Rick Emery [mailto:remery;emeryloftus.com]
Sent: 29 October 2002 16:15
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Select values in an array???
I HAVE selected multiple items without including MULTIPLE.
The following link displays a form in which
Hello,
Rick Emery [EMAIL PROTECTED] wrote:
I HAVE selected multiple items without including MULTIPLE.
The following link displays a form in which there are multiple SELECTS
with the same name.
Upon processing the form on submit, I do retrieve all selected values, not
just the last.
To check
: Re: [PHP] Select values in an array???
Hello,
Rick Emery [EMAIL PROTECTED] wrote:
I HAVE selected multiple items without including MULTIPLE.
The following link displays a form in which there are multiple SELECTS
with the same name.
Upon processing the form on submit, I do retrieve all
: [EMAIL PROTECTED]
Sent: Tuesday, October 29, 2002 9:54 AM
Subject: Re: [PHP] Select values in an array???
Then you were not able to select multiple values. If you don't include
the multiple, it will only allow you to select one value.
Rick Emery wrote:
I've used it without multiple many times
cheers
rick- Original Message -
From: @ Edwin [EMAIL PROTECTED]
To: Rick Emery [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, October 29, 2002 10:25 AM
Subject: Re: [PHP] Select values in an array???
Hello,
Rick Emery [EMAIL PROTECTED] wrote:
I HAVE selected multiple items
PROTECTED]
To: Rick Emery [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, October 29, 2002 10:25 AM
Subject: Re: [PHP] Select values in an array???
Hello,
Rick Emery [EMAIL PROTECTED] wrote:
I HAVE selected multiple items without including MULTIPLE.
The following link displays
18 matches
Mail list logo