Paging Class
Pagination class
Usage
$query="SELECT * FROM table";
$p = new paging( $query );
string $p->get_paging();
Returns HTML of pagination links.
$p->query
Contains the the mysql query with appended limit statement.
string $p->get_results( bool $links=false );
Returns HTML displaying number of results. If $links is set to true then pagination links will also be included.
