Re: passing array of variables in a query string

From: Date: Fri, 01 Mar 2002 16:52:31 +0000
Subject: Re: passing array of variables in a query string
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-86787@lists.php.net to get a copy of this message
It is in the TODO list of PHP. The behaviour will be changed in such a case. You can get the string from $QUERY_STRING explode it with $ar=explode('&',$QUERY_STRING); and some other small things to get all stuff with same name in an array Regards, Andrey ----- Original Message ----- From: "Diana Castillo" <diana.castillo@nvtechnologies.com> To: <php-general@lists.php.net> Sent: Friday, March 01, 2002 6:42 PM Subject: [PHP] passing array of variables in a query string > I was wondering if someone could help me > with this: > what I need to know is how to pick up an array of variables from > a query string such as: > http://www.archipro.com/test.php?state=AB&state=BC > If I use $state, I get only the last one. > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.general (#86787) next »