Guest User

Untitled

a guest
May 22nd, 2012
33
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. if($pagesCount > 1) {
  2. if($page == $pagesCount)
  3. echo "<a href=?".$linkString."page=$pagesCount>[$pagesCount]</a> ";
  4. else {
  5. echo "<a href=?".$linkString."page=$pagesCount>$pagesCount</a> ";
  6. }
  7. }
  8.  
  9. if($page != $pagesCount) {
  10. echo " &raquo; <a href=?".$linkString."page=".($page+1).">Next Page</a>";
  11. }
Advertisement
Add Comment
Please, Sign In to add comment