In PHP, if you set the input fields to be array names then all the results 
get put in an
array:

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

would create an array("joe", "bob" ) in PHP.

If you really can't set it in the form you could access the QUERY_STRING 
environment
variable and parse it directly.

At 11:14 26/07/2001 +0100, A wrote:
>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

-------------------------
Brian White
Step Two Designs Pty Ltd - SGML, XML & HTML Consultancy
Phone: +612-93197901
Web:   http://www.steptwo.com.au/
Email: [EMAIL PROTECTED]


-- 
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