PHP Classes

File: example.php

Recommend this page to a friend!
  Classes of vimal   Pagination with density   ???   Download  
File: ???
Role: Example script
Content type: text/plain
Description: example
Class: Pagination with density
Display links to browse listings split in pages
Author: By
Last change:
Date: 14 years ago
Size: 322 bytes
 

Contents

Class file image Download
<?php
require_once("pagination.php");
$url="example.com";
$total_rows=100;
$limit=10;
$example = new pagination($url,$total_rows,$limit);
$start_row=$example->getCurrentStartRecordNo(1);
// to be used for sql query limit $start_row,$limit
$links = $example->displayPageLinks();
echo
$links;
//this is the page links
?>