RE: [PHP-WIN] SELECT MULTIPLE and PHP?

From: Date: Tue, 29 Aug 2000 23:56:13 +0000
Subject: RE: [PHP-WIN] SELECT MULTIPLE and PHP?
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-2276@lists.php.net to get a copy of this message
Oops...sorry, I apologize for my dyslexic typing. That's what I meant :-) Ignatius > -----Original Message----- > From: Pavel Kalian [mailto:pkalian@ssw.cz] > Sent: Monday, 28 August 2000 18:37 > To: Ignatius Teo; gongo@vt4.net; php-windows@lists.php.net > Subject: Re: [PHP-WIN] SELECT MULTIPLE and PHP? > > > It should be > > <select multiple name="Selected[]"> > > Pavel > > ----- Original Message ----- > From: "Ignatius Teo" <iteo@scu.edu.au> > To: <gongo@vt4.net>; <php-windows@lists.php.net> > Sent: Monday, August 28, 2000 7:14 AM > Subject: RE: [PHP-WIN] SELECT MULTIPLE and PHP? > > > > Try: > > > > <select multiple name[]="Selected"> > > > > Ignatius > > > > > -----Original Message----- > > > From: Dimitri Smits [mailto:gongo@vt4.net] > > > Sent: Monday, 28 August 2000 16:01 > > > To: php-windows@lists.php.net > > > Subject: [PHP-WIN] SELECT MULTIPLE and PHP? > > > > > > > > > Hi, > > > > > > what am I doing wrong when I want to use a select > multiple in a form > > > and only get the last value selected instead of all the > > > values selected? > > > > > > ---- html code for test.htm ---- > > > > > > <html> > > > <head> > > > <title>Dit is een testje!</title> > > > </head> > > > <body> > > > > > > <form action="./info.php" method="get"> > > > <select multiple name="Selected"> > > > <option value="Water">Water</option> > > > <option value="Vuur">Vuur</option> > > > <option value="Lucht">Lucht</option> > > > <option value="Aarde">Aarde</option> > > > </select> <br /> > > > <input type="submit" value="Submit"> > > > </form> > > > > > > </body> > > > </html> > > > > > > ---- End of test.htm ---- > > > > > > ---- php code for info.php ---- > > > > > > <? > > > phpinfo(); > > > ?> > > > > > > ---- End of info.php ---- > > > > > > > > > I only see the last value I select. How do I catch all of them? > > > (neither post not get gives me the result I wanted, and yes, the > > > get was to see if my html syntax was correct, which it > seems to be. > > > > > > thnx in advance, > > > Dimitri > > > > > > > > > -- > > > PHP Windows Mailing List (http://www.php.net/) > > > To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net > > > For additional commands, e-mail: php-windows-help@lists.php.net > > > To contact the list administrators, e-mail: > > > php-list-admin@lists.php.net > > > > > >

« previous php.windows (#2276) next »