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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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
> 
> 


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

Reply via email to