On Monday, April 8, 2002, at 11:12 AM, <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php