PHP Classes

Result set page navigator: Generate navigation links to browse query results

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 65%Total: 2,044 All time: 1,920 This week: 455Up
Version License Categories
resnav 1.0GNU General Publi...HTML, Databases
Description 

Author

This class is meant to generate navigation HTML links to browse database query results split between multiple pages.

The class generates Next, Previous, Start, End and direct page jump link from a given total number of result rows and limit number of results per page parameter. The links may include given icon images.

The class also generate a SQL LIMIT clause which can be used in SQL queries to MySQL or similar databases.

The implementation of this class allows to automatically keep track of the values of any variables that are passed on the page URL (GET method).

Picture of Aleksandar Markovic
Name: Aleksandar Markovic <contact>
Classes: 2 packages by
Country: Serbia Serbia
Age: 50
All time rank: 3954 in Serbia Serbia
Week rank: 195 Up1 in Serbia Serbia Up

  Files folder image Files (2)  
File Role Description
Accessible without login Plain text file example.php Example Result set page navigator example
Plain text file navigator.php Class Result set page navigator class

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:2,044
This week:0
All time:1,920
This week:455Up
 User Ratings  
 
 All time
Utility:95%StarStarStarStarStar
Consistency:90%StarStarStarStarStar
Documentation:-
Examples:85%StarStarStarStarStar
Tests:-
Videos:-
Overall:65%StarStarStarStar
Rank:636