Login   Register  
PHP Classes
elePHPant
Icontem

File: test.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Steven Lewis  >  Easy Pagination  >  test.php  >  Download  
File: test.php
Role: Example script
Content type: text/plain
Description: test file
Class: Easy Pagination
Generate navigation links to split lists in pages
Author: By
Last change: Update demo to use $_REQUEST['current_page']
Date: 2008-05-19 09:13
Size: 248 bytes
 

Contents

Class file image Download
<?php
include("pagination.inc.php");
include(
"urllist.inc.php ");

$current_page = (empty($_REQUEST['current_page']))?0:$_REQUEST['current_page'];
$pagination = new pagination("/test.php?",300,$current_page);
echo 
$pagination->show("%1");
?>