Login   Register  
PHP Classes
elePHPant
Icontem

File: mysqlPaging.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Adomas Žiaušys  >  MySQL Paging  >  mysqlPaging.php  >  Download  
File: mysqlPaging.php
Role: Example script
Content type: text/plain
Description: Example file
Class: MySQL Paging
Split MySQL database query results into pages
Author: By
Last change:
Date: 9 years ago
Size: 206 bytes
 

Contents

Class file image Download
<?php
require('mysqlPaging.class.inc');
$pagging = new mysqlPaging("SELECT * FROM table WHERE status = '2' ORDER BY id DESC"20$dbLink);
$pagging->printPagesNums();
print 
$pagging->returnQuery();
?>