PHP Classes

File: seo_friendly_example.php

Recommend this page to a friend!
  Classes of Ziaullah Siddiqui  >  Seo Friendly Paggination Class  >  seo_friendly_example.php  >  Download  
File: seo_friendly_example.php
Role: Example script
Content type: text/plain
Description: Example of usage of the seo friendly class
Class: Seo Friendly Paggination Class
Generate links or inputs to browse paginated lists
Author: By
Last change: Set priority
Date: 8 years ago
Size: 664 bytes
 

Contents

Class file image Download
<?php
require 'PagginatorClass.php';



////////
/*
 * Seo Friendly Paggination Class you can use jump menu, pages drop down, before and after html tags,
 * css classes for every html element, change passing parameter name and more.
 *
 */
/////////
$total_record = 800;


$pg = new Pagging;

$pg->link('http://zia.localhost/pagging/seo_friendly_example.php');

$pg->recordsPerPage(20);

$pager = $pg->Pagger($total_record);


$sql = "SELECT title FROM table " . $pg->limit();

echo
$sql;

echo
'<br /><br /><br /><br /><br />';

echo
$pager;

echo
'<br />';

echo
$pg->PageDropDown();

echo
'<br />';

echo
$pg->JumpMenu();

For more information send a message to info at phpclasses dot org.