I have a sample page that uses 2 PHP files and a MySql database, and I\'m trying to use jQuery infinite scroll on it. How can I load the next group of data from database? Fo
You need to add LIMIT to your queries. Example from the MySQL manual:
LIMIT
SELECT * FROM tbl LIMIT 5,10; # Retrieve rows 6-15
Here, 5 is the starting offset, and 10 is the amount of rows you want to fetch.
5
10
For the client-side you'll need the infinite scroll jQuery plugin.