Next »"); }else{ $perPage = $stop-$start; $nextNum = $start + $perPage; $prevNum = $start - $perPage; $nextLast = $nextNum + $perPage; print("« Previous  "); print("Next »"); } ?>