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,236 This week: 1All time: 354 This week: 46Up
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: 45225 in India India
Week rank: 35 Up4 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,236
This week:1
All time:354
This week:46Up
User Ratings User Comments (4)
 All time
Utility:93%StarStarStarStarStar
Consistency:87%StarStarStarStarStar
Documentation:-
Examples:85%StarStarStarStarStar
Tests:-
Videos:-
Overall:64%StarStarStarStar
Rank:727