<?php include_once 'class.AutoPagination.php'; $obj = AutoPagination::getInstance(); echo $obj->paginateRecords(50, $_GET['page']); // 50 is the total record count selected from mysql database ?>
info at phpclasses dot org