Re: how to add query string

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

place a html anchor with required parameters in your html or html template file:

...
<a href="phpage.php?param1=value1&amp;param2=value2&amp;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@xxxxxxxxx> 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.

[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux