Recommend this page to a friend! |
Classes of NoobSaiboT TheFreakative (iTs) | Simple PHP Pagination Class | readme.md | Download |
|
Download <p align="center"> <img align="center" src="pag.png" width="100%" alt="pagination sample"/> </p> Simple Pagination ClassThis is a simple class that implements pagination when connected to a mysql databse via PDO. - Include the class - Set the name of your table, number of items per page - edit the ouputted html however you want and voila ! It is really easy to set up. No hassle or stress. RequirementsTo work properly, the class needs:
InstallationThis class requires PHP 5 + to run. Download and extract (https://github.com/sayopaul/paginationclass). Set your config.php file
After that, you create a new PDO object with the config details
There's a test file using bootstrap that shows a proper example DevelopmentWant to contribute? Great! Please star and help to identify areas to improve. Thanks LicenseMIT Free Software, Hell Yeah! |