Login   Register  
PHP Classes
elePHPant
Icontem

Split Query Results: Generate links to split listings in multiple pages

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   Screenshots Screenshots   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2008-04-09 (6 years ago) RSS 2.0 feedNot enough user ratingsTotal: 473 All time: 5,403 This week: 1,924Up
Version License PHP version Categories  
split_query_results 1.0GNU General Public Lice...3.0HTML
Description Author  

This class can be used to generate links to split listings in multiple pages.

It takes as arguments the total number of entries in a listing and the limit number of listing entries to show per page. The current listing page is retrieved from a GET request parameter.

The class can generate links to go to the next, previous and any intermediate pages.

The next and previous links can be displayed with a text string or as an image. The base link URL, the text string or the image URL are also configurable.

Picture of Giuseppe Ferrara
Name: Giuseppe Ferrara <contact>
Classes: 2 packages by
Country: Italy Italy
Age: 40
All time rank: 209582 in Italy Italy
Week rank: 1826 Up77 in Italy Italy Up

Screenshots  
  • pic_02.jpg
  • pic_01.jpg
  Files folder image Files  
File Role Description
Plain text file example_split_results.sql Data Sample mySQL database to be used with the example
Plain text file split_query_results.php Class The class file
Plain text file test_query_results.php Example An example script (must be used with mySQL)

 Version Control Unique User Downloads Download Rankings  
 0%Total:473All time:5,403
 This week:0This week:1,924Up
 User Comments (1)