On Sun, 28 Apr 2002, Evan wrote:
> I pass parameters via querystring in this way:
> page.php?ID=5&ID=6&ID=23
> 
> In $_GET["ID"] I get only the value 23 !!!!
> I am surprised 'cause in ASP I get 5,6,23.
> 
> Is there a way to make things working to have a sequence of values separated
> by commas?

page.php?ID[]=5&ID[]=6&ID[]=23

the [] tells it to make ID an array. Otherwise each value just replaces 
the previous one.

miguel


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

Reply via email to