How to get and disect the query string appended into a url? PHP

Posted by Stanley Ngumo on Stack Overflow See other posts from Stack Overflow or by Stanley Ngumo
Published on 2010-06-03T10:50:42Z Indexed on 2010/06/03 10:54 UTC
Read the original article Hit count: 236

Filed under:

Hi,

I am trying to develop a PHP class which would enable me to get the query string appended into a url and process it according to the variables passed. How can this be done?

Eg

www.example.com?var1=a&var2=b&var3=c

now I want to get '?var1=a&var2=b&var3=c' section and process it based on the variables.

Thanks

© Stack Overflow or respective owner

Related posts about php