From: http://coolshell.cn/articles/5160.html
Paging is currently the best way to display a large number of results. With the help of the following code, developers can display a large amount of data on multiple pages. On the Internet, pagination is generally used for searching results or browsing all information (for example, a forum topic ). Almost every Web application needs to divide the returned data and display it by page. The Code provided in the following list can help your development.Learning these codes is also helpful for beginners..
1) Use Ajax Paging
The following example uses jQuery + PHP. Demo link
2) MySql Paging
Database paging.
3) Facebook/Twitter pagination
4) Php & MySql Paging
5) Paging Style
A simple tutorial teaches you how to use CSS to define pages of different styles.
6) PHP paging class
A PHP paging class
7) Easy Pagination
This is a PHP library that makes paging easier.
8) Basic Paging
A simple and easy-to-understand paging tutorial.
9) Php Page
A simple PHP tutorial
10) perfect-php-pagination
It is also a paging tutorial.
(Full text)