Re: Getting results from Select Multiple HTML tag

From: Date: Tue, 06 Jan 2004 04:14:37 +0000
Subject: Re: Getting results from Select Multiple HTML tag
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-173817@lists.php.net to get a copy of this message
Oh yea, I also searched the archives at http://marc.theaimsgroup.com/?l=php-general There were quite a few releated postings, but no answers! Mostly it was dick heads telling people that need help to RTFM. So, if you don't have any real help for me, then disregard my question. Telling me to RTFM won't help cuz I've red that section. Don't tell me to STFA (search the fuckin archives???), cuz I've done that also. Thanks for your understanding! tyler On Mon, 2004-01-05 at 22:05, Tyler Longren wrote: > Hi, > > > http://www.php.net/manual/en/faq.html.php#faq.html.select-multiple > > I read that. Doesn't work in php since the whole register_globals > thing. Now, when I get the results from a form, they're all in a > $_POST[] array. Example. > > When I have a <select name="test" MULTIPLE> > I would have to access the values of the "test" field like this: > count($_POST['test']); > > But since I have to have the [] in the name="<select name="test[]" > MULTIPLE>" ()part, I get parse errors when trying to read it: > ex: count($_POST['test[]']); > > That doesn't even look right. Anyone understand what I'm tryin to get > at? Any help would be great. > > Best Regards, > -- > Tyler Longren > J.D. Web Services, L.C.

« previous php.general (#173817) next »