Re: GET question

From: Date: Sun, 28 Apr 2002 21:33:14 +0000
Subject: Re: GET question
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-95024@lists.php.net to get a copy of this message
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

« previous php.general (#95024) next »