Re: Adding Querystrings to links
| From: | Jordan K. Martin | Date: | Mon, 08 Apr 2002 15:38:27 +0000 |
| Subject: | Re: Adding Querystrings to links | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-92082@lists.php.net to get a copy of this message | ||
Chris,
What really matters is where the variables are coming from.
print ("http://domain.com/index.php?dest=" . $var1 .
"&item=" . $var2
."<br>\n");
that's how I usually do it. I'm assuming that both "dest" and "item"
are
variables on the referring page. Reply and let me know if this is what
you're looking for.
-Jordan K. Martin
--New Image Design
---http://www.newimagedesign.com
<mail@struempf.com> wrote in message
news:002f01c1df0f$cb2ef400$0100a8c0@pent333...
Hi all!
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.
Thank you,and sorry for my bad english
Chris