DevShed has posted the latest in their "PHP and Javascript Interaction: Storing Data in the Client" series - Part 3.
In the final article in our series about using PHP and JavaScript to store data on the client side, we will be building on what we learned about server and client interaction to create a JavaScript-based paginating system. Our next and final step will be using this server-client programming interaction to build a JavaScript-based paging system. I mean (previous) 1, 2, 3, ...and so forth. Is such a thing possible? Yes, it is. Let's put our hands to the hard work and start learning more.
They show you how to grab records from the database, use the displayRecords function to show them, and the "limit" ability built into it to only show a certain number of records. They include a method for building the "page links" as well (Ex. 1, 2, 3).
This may not be the easiest way to do this kind of pagination, but it is an interesting alternative...




