Re: Adding Querystrings to links

From: Date: Mon, 08 Apr 2002 15:30:02 +0000
Subject: Re: Adding Querystrings to links
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-92066@lists.php.net to get a copy of this message
On Monday, April 8, 2002, at 11:12 AM, <mail@struempf.com> wrote:
I have a problem with the querystring.I want to add to every Link on my Homepage a querystring, but i should have the possibility to change some details in the Querystring. How should i solve this problem ? Example : http://domain.com/index.php?dest=12&item=2 The variables "?dest=" and "&item=" should be in every Link on my site.But only the values "12" and "2" should be alterable.
Here is an example: $destination = 12; $item = 12; // later in the script print("<a href=\"http://domain.com/index.php?dest=$destination&item=$item\">Link</a> "); Erik ---- Erik Price Web Developer Temp Media Lab, H.H. Brown pricee@hhbrown.com

« previous php.general (#92066) next »