I have an sql query that returns a lot of results for which I want to generate an html table to display them. Problem is I don’t want to display them all on one page, I want to grab 10 at a time and flip through pages of results.
I want to return 100 results for each query but I can’t figure out how to get THE NEXT 100 on the next query.
What you need to do is pass a variable to your script that will create the proper SQL LIMIT statement for each page.