PHP Classes

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

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  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 (7 years ago) RSS 2.0 feedNot enough user ratingsTotal: 474 All time: 5,590 This week: 1,052Up
Version License PHP version Categories  
split_query_results 1.0GNU General Publi...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: 41
All time rank: 218086 in Italy Italy
Week rank: 1602 Up65 in Italy Italy Up

  • 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:474All time:5,590
 This week:0This week:1,052Up
 User Comments (1)