want to join us? register, it's easy | help

Simple PHP/MySQL Pagination

What is Pagination?

What if you have a table with a thousand rows, and you want to allow the user to browse through the entire table. Simply listing all the records in that table would not be a good idea. Instead you should break the table up into smaller "chunks" and allow the user to navigate through theses "chucks". This is what pagination does, it allows you to break up large result sets from a database query, and present it to the user in a more manageable way.