PHP Classes
elePHPant
Icontem

File: pagination.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Utsarg Narain Bhardwaj  >  Page  >  pagination.php  >  Download  
File: pagination.php
Role: Example script
Content type: text/plain
Description: pagination example
Class: Page
Generate navigation links for lists split in pages
Author: By
Last change:
Date: 8 years ago
Size: 248 bytes
 

Contents

Class file image Download
<?php
$result
= mysql_query($sql);
       
$page=new Page();
       
$page->set_page_data('',mysql_num_rows($result),10,0,true,false,false);
       
$page->set_qry_string("module=admin&fileName=Community_Report");
       
$sql = $page->get_limit_query($sql);
?>