After reading this tutorial you should be able to add previous and next links to your pages that display data from a database.
I read several PHP forums on a daily basis. One of the most common requests I see is "How do I add previous and next links to my pages?". Hence this tutorial. When we get done here, you should be able to add previous and next links to your pages that you show database results with.
For the purposes of this tutorial, I am going to assume that you are already familiar with basic PHP syntax and know how to use PHP to query a database. For the purposes of this tutorial, we will be using MySQL but the theory here should apply to any database.