Re: URL Variables
| From: | Chris Shiflett | Date: | Tue, 28 Oct 2003 17:11:06 +0000 |
| Subject: | Re: URL Variables | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-167894@lists.php.net to get a copy of this message | ||
--- "Jed R. Brubaker" <jedbrubaker@hotmail.com> wrote:
> Is there a way to preserve URL variables and have a link simply add
> a new variable to the end?
Sure, just use $_SERVER['QUERY_STRING'], which is the current query string, and
append whatever new URL variables you want.
Chris
=====
My Blog
http://shiflett.org/
HTTP Developer's Handbook
http://httphandbook.org/
RAMP Training Courses
http://www.nyphp.org/ramp