1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
<?php $current_page = 1; $total_pages = 4; echo "$current_page"; echo "$total_pages "; echo "\n"; if ($current_page >= 1 && ($current_page < $total_pages)) { echo "next button should be here"; } else { echo "Nothing"; } ?>
1 2
14 next button should be here