1) { $url = "shop.php?screen=" . ($screen - 1); echo '
  • '; } // page numbering links now for ($i = 1; $i < $pages + 1; $i++) { $url = "shop.php?screen=" . $i; if($screen == $i){ echo '
  • ' . $screen . '
  • '; }else{ echo '
  • ' . $i . '
  • '; } } if ($screen < $pages) { $url = "shop.php?screen=" . ($screen + 1); echo '
  • '; } ?>