Quote:
Originally Posted by nm_
your echo is wrong:
Code:
echo "<a href=\"".$_SERVER['PHP_SELF']."/?page={$i}\">{$i}</a>";
produces <a href="page.php/?page=0"></a>
you don't want the / in there
try:
Code:
echo "<a href=\"".$_SERVER['PHP_SELF']."?page={$i}\">{$i}</a>";
should work
|
Thanks... I tried without the / before but it didn't work. Anymore ideas?
Right now when I clicked on page 2 or 3 I see the url link in the address bar but the results don't change.. still displays the query results from page 1.