Jump to content

[SOLVED] Can you use OR statements in a url GET method?


Cep

Recommended Posts

You can use arrays in the URL to get multiple values:

www.myscript.com/index.php?groupid[]=10&groupid[]=1

Your processing script would then see an array of two elements:

Array
(
    [0] => 10
    [1] => 1
)

 

Ken

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.