link in php

March 25, 2009 at 03:37:33
Specs: Windows XP
Any one help me to learn to link next page from home page in php....

See More: link in php

Report •

March 25, 2009 at 08:06:01
Hi, if the page that you are trying to redirect to doesn't have these symbols in the URL (& or ?), perhaps use:



header ("Location: $URL");


Report •

March 27, 2009 at 01:19:24
or perhaps

<a href="<?php echo $_SERVER["PHP_SELF"];?>?p=previous">back</a> | 
<a href="<?php echo $_SERVER["PHP_SELF"];?>">home </a> |
<a href="<?php echo $_SERVER["PHP_SELF"];?>?p=next">Next</a>

Where the previous and next links are passed around using $_GET["p"]. What exactly are wanting to do?

Report •

March 29, 2009 at 07:18:16
Hi Sohani, did any of these solutions work for you? If not, could you provide us a snapshot of your code?

Report •

Related Solutions

Ask Question