Skip to content

mediasoftpro/phpBootPagination

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP Bootstrap Pagination

phpBootPagination script help you implement complex pagination links easily just by writing few lines of code. It has full compatibity with bootstrap 3.0

List of main features include

i: support both simple and advance paginations

ii: bootstrap 3.0 compatible pagination links

iii: support jquery pagination.

Sample Usage Example

// test values

$pagenumber = 57;
$totalrecords = 45533;
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-large";
$pg->paginationstyle = 1; // 1: advance, 0: normal
$pg->defaultUrl = "index.php";
$pg->paginationUrl = "index.php?p=[p];
echo $apagination->process();

For more detail and documentation visit

http://www.mediasoftpro.com/php/bootpagination/

About

Bootstrap 3.0 compatible advance pagination script for php.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages