note 52980 deleted from reserved.variables by philip
| From: | philip@php.net | Date: | Wed, 21 Feb 2007 16:11:59 +0000 |
| Subject: | note 52980 deleted from reserved.variables by philip | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-123653@lists.php.net to get a copy of this message | ||
Note Submitter: sienkiewicz at gmail dot com
----
Here is a very simple method of extracting all $_GET variables in a URL. This is useful when working
with dynamic reports, that may need to be sorted, etc.
code:
foreach($_GET as $variable => $value) {
echo "Variable Name: " . $variable . " Value: $value<br>";
}