Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hygsani/pagination

simple pagination class
https://github.com/hygsani/pagination

Last synced: 21 days ago
JSON representation

simple pagination class

Awesome Lists containing this project

README

        

# simple pagination class for array

example of use:

require_once 'PaginationClass.php';

$pagination = new PaginationClass;

$dataOfArrays = array(
'yellow', 'green', 'brown', 'black', 'white'
);

echo $pagination->renderPagination($dataOfArrays, count($dataOfArrays); $_GET['p']);