Published in: PHP
//Above the loop $readerItems = $myReader->buildMyItems(); $readerTotal = $readerItems; $page=1; $page = $_REQUEST['page']; $perPage = 30; //Below the loop for the links $currentPage = 1; $currentPage = $_REQUEST['page']; if ($currentPage != 1) echo 'Page '; for($x=1; $x<=$pages; $x++) { if ($x == $currentPage) else echo "<a href='/my/index.php?page=$x'>$x</a> "; } if ($currentPage < $pages)
Comments
Subscribe to comments
- Posted By: Tate on July 22, 2008
You need to login to post a comment.
