PHP: Simple Pagination

This article shows how to create a simple pagination in PHP and MySQL. In the example code present in this article: – We will be fetching data from a MySQL database table. – We will be showing certain rows of data in first page and other rows will be displayed in next pages. – We … Read more

Pagination in PEAR and Smarty

First of all, you need to install PEAR in your web server. Then you need to install Smarty. After that, you need to install a package in PEAR. It’s called ‘Pager’. Pager is a class to page an array of data. It is taken as input and it is paged according to various parameters. Pager … Read more