At 01:37 13.11.2002, Todd Cary said: --------------------[snip]-------------------- >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? --------------------[snip]--------------------
Sure it is - just name the listbox control "myvar[]" (note the angle brackets). PHP will recognize this being an array, and you'll end up with $myvar = array('select1','select2'); -- >O Ernest E. Vogelsinger (\) ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php