Re: processing post requests

From: Date: Sun, 21 Sep 2003 16:08:48 +0000
Subject: Re: processing post requests
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-163355@lists.php.net to get a copy of this message
On Sun, 21 Sep 2003 08:00:56 -0700 Vadim Bendebury <moosor@comcast.net> wrote: > Andu, > > thank you and James Johnson, who sent me an email, so much. Don't mention it. > > You guys are gentlmen and scholars, as opposed to some others who would > lecture you wasting your (and their own!) time, stating the obvious, > saying nothing of value, but enjoying their litte egos. Don't expect things to change soon though. > > thanks again, > /vb > > Andu wrote: > > On Sat, 20 Sep 2003 17:28:45 -0700 > > Vadim Bendebury <moosor@comcast.net> wrote: > > > > > >>The web page has a form with a following element in it: > >> > >><select multiple size="4" name="city"> > >> <option selected value=0>no preference</option> > >> <option value=2>Paris</option> > >> <option value=1>London</option> > >> <option value=3>Madrid</option> > >></select> > > > > > > <select multiple size="4" name="city[]"> > > <option selected value=0>no preference</option> > > <option value=2>Paris</option> > > <option value=1>London</option> > > <option value=3>Madrid</option> > > </select> > > > >>The intention is to be able to pick multiple cities. However, when the > >>request arrives on the server, the $_POST array includes just the one > >>last pick, no matter how many options are highligted when the "submit" > >>button is hit. > >> > >>What's the deal - is the an HTML code problem or PHP problem? Is it at > >>all possible to have multiple choices derived from this kind of form > >>element? > >> > >>Thanks in advance! > >> > >>-- > >>PHP General Mailing List (http://www.php.net/) > >>To unsubscribe, visit: http://www.php.net/unsub.php > >> > >> > >> > > > > > > > > ____ > > Regards, Andu Novac > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > ____ Regards, Andu Novac

« previous php.general (#163355) next »