SELECT MULTIPLE and PHP?

From: Date: Mon, 28 Aug 2000 05:01:02 +0000
Subject: SELECT MULTIPLE and PHP?
Groups: php.windows 
Request: Send a blank email to php-windows+get-2193@lists.php.net to get a copy of this message
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

« previous php.windows (#2193) next »