Re: Re: query strings and other delights

From: Date: Thu, 13 Jan 2011 18:05:39 +0000
Subject: Re: Re: query strings and other delights
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-310736@lists.php.net to get a copy of this message
kbailey@howlermonkey.net wrote:
...Holy cow... nothing to extract the query string, it's automatically part of the environment. So I just do work with the $_GET string, it's in there already... yikes.
yup
OK, so $_GET is an array keyed to keywords; plug in the key, out comes the value. What if I just want the entire string?
$_SERVER['QUERY_STRING']

« previous php.general (#310736) next »