$_SERVER['QUERY_STRING'] Question.
Posted: Sat Jul 24, 2004 1:08 am
Hi all, just a quick one...
I am currently using $query=$_SERVER['QUERY_STRING']; to read the query string of a URL which is fine for one variable in the query string, however i now need it to work on this eg URL
http://www.whatever.com/script.php?this=query1&query2
how can i do it so this=query1 and query2 are seperate? Do i need to use $_GET??
I am currently using $query=$_SERVER['QUERY_STRING']; to read the query string of a URL which is fine for one variable in the query string, however i now need it to work on this eg URL
http://www.whatever.com/script.php?this=query1&query2
how can i do it so this=query1 and query2 are seperate? Do i need to use $_GET??