PHP Classes

File: example.php

Recommend this page to a friend!
  Classes of solomongaby   gsdPagination   example.php   Download  
File: example.php
Role: Example script
Content type: text/plain
Description: example file
Class: gsdPagination
Show links to browse MySQL query result listings
Author: By
Last change:
Date: 15 years ago
Size: 330 bytes


Class file image Download
include_once "./pagination.class.php";

$cPage = ( isset($_REQUEST['cPage']) ) ? $_REQUEST['cPage'] : '1'; $sql="SELECT * FROM `tableName` ";

// get the HTML paginatio ...
$pagination= new gsdPagination($sql,$cPage,'5',$baseURL);

// get the query
$query = $pagination->rQuery;