Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2001072

[PHP] Re: Query String Name ? From: Yasuo Ohgaki (yohgaki <email protected>)
Date: 07/26/01

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" <abe <email protected>> wrote in message news:008801c115bb$cad13360$4301a8c0 <email protected> 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: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>