Sure! Just add [] to the end of the name of the field. PHP will return
all the values in an array:

<select name="myvar[]">


Marco
-- 
------------
php|architect - The magazine for PHP Professionals
The monthly worldwide magazine dedicated to PHP programmers

Come visit us at http://www.phparch.com!
--- Begin Message --- I have a pull-down with the MULTIPLE attribute. If the Form is of Type GET and two values are selected (e.g. select1 and select2), I see in the URL the following:

?myvar=select1&myvar=select2

"myvar" appears twice, however, if I check the $HTTP_GET_VARS, I only have one value: myvar=select2.

Is it possible to get both values?

Todd


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


--- End Message ---
-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to