Re: [PHP] multiple select box

2003-09-04 Thread Robert Cummings
Did you remember the [] on the select field's name? Otherwise it will treat data as a scalar and constantly overwrite until the last selected entry is reached. Cheers, Rob. On Thu, 2003-09-04 at 16:39, Steve Goodman wrote: > Hey all, > I'm curious if anyone else has ever come across this problem

[PHP] multiple select box

2003-09-04 Thread Steve Goodman
Hey all, I'm curious if anyone else has ever come across this problem: I have a multiple select box named 'chosen'. When it is submitted, only the last option selected appears under $_POST['chosen'], when I print_r($_POST). Any ideas? Thanks in advance, Steve -- PHP General Mailing List (http://

RE: [PHP] multiple select box not showing values

2003-07-08 Thread Giz
Is imgList an array, and did you specify it as such in the form? Are you foreach() through the array to get the contents? -Original Message- From: Micah Montoy [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 08, 2003 12:03 AM To: [EMAIL PROTECTED] Subject: [PHP] multiple select box not

[PHP] multiple select box not showing values

2003-07-08 Thread Micah Montoy
I have a select box that is filled with multiple values and when the user clicks submit, it hightlights all the values in the select box and then sends this to my PHP file. I did a simple: echo ($_POST["imgList"]); to see what was happening and the only value being carried across is the last val

RE: [PHP] Multiple select box and form submitting

2001-05-07 Thread Johnson, Kirk
[mailto:[EMAIL PROTECTED]] > Subject: [PHP] Multiple select box and form submitting > > i've got a multiple select on a form and want to > find out *all* selected values. > > the form looks like so: > > > First > Second > Third > > > when the form subm

[PHP] Multiple select box and form submitting

2001-05-07 Thread ..s.c.o.t.t.. [gts]
i apologize in advance if the answer to my question is glaringly obvious. i've got a multiple select on a form and want to find out *all* selected values. the form looks like so: First Second Third when the form submits, $form['category'] is not an array of selected values, but rather a sing