Skip to content

a simple class for showing pagination links without loosing parameters on query string

Notifications You must be signed in to change notification settings

mehrannasr1375/php_paginator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

php_paginator

A simple class for showing pagination links without loosing parameters on query string



remember:
This class does not contains any possibilities for data limitations! (like posts, products or whatever you want to paginate), it only creates pagination links and shows the pagination links in a nice html markup!



how to use:
Just include class and use this small lines of code:

`<?php

$total_count = 100; // number of items that should be paginated
$per_page_count = 10; // number of items that should be displayed on each page

$paginator = new Paginator($total_count, $per_page_count);
$paginator->showLinks();

?>`



requirements:
bootstrap > 4.0
php > 5.6

About

a simple class for showing pagination links without loosing parameters on query string

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages