I have this type of url:
http://mysite.com/results.php?location=montreal&car-rental=no&add-hotel=no&moods%5B%5D=Adventure&moods%5B%5D=Arts&moods%5B%5D=Culture&moods%5B%5D=Well-being&moods%5B%5D=Zen&weather-dependent=yes
In PHP, what's the best way to get only the $_GET[] part ?
Fo example:
$get = location=montreal&car-rental=no&add-hotel=no&moods%5B%5D=Adventure&moods%5B%5D=Arts&moods%5B%5D=Culture&moods%5B%5D=Well-being&moods%5B%5D=Zen&weather-dependent=yes
Thanks.
explodeon questionmark?$_SERVER['QUERY_STRING']familiarize yourself with the contents of$_SERVER