Yeah, agreed there!!! You're not supposed to specify a name on a option, just on the select itself. I've changed it now to use the array bit, and the form results return it as a array as expected.
Thanks for all the help... I think it's time to download a new copy of the manual again... :) ----- Original Message ----- From: "Philip Olson" <[EMAIL PROTECTED]> To: "Jay Blanchard" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, June 06, 2002 7:47 PM Subject: RE: [PHP] multiple selects and $_POST['vars'] MORE > This is not how they work, the name goes > under <select> not within <option>. > > And as others have suggested, using an > array is key here: name="bleh[]". > > http://www.php.net/manual/en/faq.html.php#faq.html.select-multiple > > Regards, > Philip Olson > > > On Thu, 6 Jun 2002, Jay Blanchard wrote: > > > [snip] > > The value selected is now in $a_name > > [/snip] > > > > Or $_POST['a_name'] > > > > HTH! > > > > Jay > > > > "Give a man a program, frustrate him for a day. > > Teach a man to program, frustrate him for a lifetime." > > "It's hip to snip!" > > > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php