CakePHP is a opensource web application framework which follows model-views-controller (MVC) approach and is written in PHP. Lets see an example on Pagination in CakePHP.
This tutorial explains how to paginate database results using PEAR::Pager and Pager_Wrapper. The latter is useful, because without it (Pager_Wrapper), you are selecting the ENTIRE result set for each page, which undoes one of the important advantages of paginating.
Bootstrap tutorial for beginners and professionals with examples on tabs, forms, nav bar, button, jumbotron, grid, table, list, panel, nav pills, alerts, pagination etc.