Re: how to add query string
| From: | Piotr Pluciennik | Date: | Sat, 25 Aug 2007 11:57:53 +0000 |
| Subject: | Re: how to add query string | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-28406@lists.php.net to get a copy of this message | ||
Hi,
place a html anchor with required parameters in your html or html template file:
...
<a href="phpage.php?param1=value1&param2=value2&param3=value3">link
description</a>
...
then invoking above link, in your phpage.php you will get:
value1 accessible via $_GET['param1']
value2 accessible via $_GET['param2']
value3 accessible via $_GET['param3']
for example: echo "Value1 = ".$_GET['param1']; will display value of param1.
HTH, regards
Piotr
Asim <j.asim@yahoo.com> wrote: Hi
can anyone tell me how to add query string in address bar for next php page
how to explode or seperate it
i need a clear working example?
byue
Asim Jamil - 0092 345 4025907, Pakistan
---------------------------------
Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user panel and lay it on us.