Adding pagination to this PHP/Ajax tutorial
Moderator: General Moderators
Adding pagination to this PHP/Ajax tutorial
I found this tutorial http://www.w3schools.com/PHP/php_ajax_database.asp that lets me use Ajax with MySQL to retrieve data based on the selected value from a drop-down list. It works well, but sometimes when I retrieve data by selecting a value from the drop-down list, there are too many records displayed on the page. How can I add pagination to this script so that when I retrieve more than a certain number of records, I get pagination on the bottom to flip through pages?