Features

List of core features of php bootstrap pagination script.

  • Support both simple and complex pagination
  • Support jquery pagination.
  • Bootstrap 3.0 compatible user interface and links.
  • and more.

Example Code

Example 1: Simple Pagination Implementation.

include_once("pagination.php"); 
$pg = new bootPagination();
$pg->pagenumber = $pagenumber;
$pg->pagesize = $pagesize;
$pg->totalrecords = $totalrecords;
$pg->showfirst = true;
$pg->showlast = true;
$pg->paginationcss = "pagination-normal";
$pg->paginationstyle = 0; // 1: advance advance pagination, 0: normal pagination
$pg->defaultUrl = "index.php";
$pg->paginationUrl = "index.php?p=[p]";
echo $apagination->process();

Here is sample output

simple pagination screen 00  simple pagination screen 01
include_once("pagination.php"); 
$pg = new bootPagination();
$pg->pagenumber = $pagenumber;
$pg->pagesize = $pagesize;
$pg->totalrecords = $totalrecords;
$pg->showfirst = true;
$pg->showlast = true;
$pg->paginationcss = "pagination-normal";
$pg->paginationstyle = 1; // 1: advance advance pagination, 0: normal pagination
$pg->defaultUrl = "index.php";
$pg->paginationUrl = "index.php?p=[p]";
echo $apagination->process();

Here is sample output

simple pagination screen 00  simple pagination screen 01

Add compatibility with Jquery

;