Use array.

test.php?name[]=joe&name[]=bob

You'll get array "name" has "joe","bob".

Or parse query string by yourself.

--
Yasuo Ohgaki


"A" <[EMAIL PROTECTED]> wrote in message 008801c115bb$cad13360$4301a8c0@abe">news:008801c115bb$cad13360$4301a8c0@abe...
Hi there,

is there any way to access two variables in a query string that have the same
name e.g

test.php?name=joe&name=bob

Is there any way to extract both values of name without changing the way the
query string is created?


Thanks,
Abe



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to