Adding pagination to this PHP/Ajax tutorial

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Beba10
Forum Newbie
Posts: 1
Joined: Fri Mar 19, 2010 8:06 pm

Adding pagination to this PHP/Ajax tutorial

Post by Beba10 »

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?
Post Reply