PHP Classes

A simple pagination using MySQL: Split MySQL query results in multiple pages

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 64%Total: 6,233 All time: 354 This week: 60Up
Version License PHP version Categories
showresult 1.0.0Freeware4.0HTML, Databases
Description 

Author

This is a simple class that can be used to split MySQL query results in multiple pages.

It takes as parameters an SQL query and the limit of records to show per page.

The class can execute the query retrieving only the rows that are for the current page.

It can also generate links to browse the pages on which the query results are displayed.

Picture of shijith
Name: shijith <contact>
Classes: 1 package by
Country: India India
Age: ???
All time rank: 45325 in India India
Week rank: 180 Up21 in India India Up

  Files folder image Files (2)  
File Role Description
Plain text file pagination.class.php Class Main class file that creates pages
Accessible without login Plain text file showresult.php Example An examle file

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:6,233
This week:0
All time:354
This week:60Up
User Ratings User Comments (4)
 All time
Utility:93%StarStarStarStarStar
Consistency:87%StarStarStarStarStar
Documentation:-
Examples:85%StarStarStarStarStar
Tests:-
Videos:-
Overall:64%StarStarStarStar
Rank:720