note 95526 deleted from reserved.variables.request by danbrown
| From: | danbrown@php.net | Date: | Thu, 07 Jan 2010 17:19:36 +0000 |
| Subject: | note 95526 deleted from reserved.variables.request by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-164747@lists.php.net to get a copy of this message | ||
Note Submitter: miklcct at gmail dot com
----
John, you can just change the $_GET variable and use http_build_query on that
<?php
$GET['foo'] = 'bar';
echo '<a href="' . htmlspecialchars(http_build_query($_GET)) .
'">'
?>