Simple Pagination with PHP and MySQl Using jQuery

Pagination is useful to show large data records into chunks of data,In previous article we have learn simple pagination non Ajax using PHP.I got huge response from readers and some request as well.This tutorial about how to make simple pagination using php MySQL with jquery simplePagination.js plugin.

Main problem was that display about millions of records,That creates issues when the number of pages are thousands.We have use advanced type pagination in php with jquery simplepagination plugin.Simplepagination.js is a simple jQuery pagination plugin,which are supporting CSS3 themes and Bootstrap support.

Checkout other tutorials of pagination,


Simple Pagination with PHP and Mysql

Step 1: included all js and css files.

Step 2: Created connection with MySQL using PHP.

Step 3: Created HTML table with MySQL records.

Step 4: Call simplePagination methods on pagination container.

You can download source code and Demo from below link.

  • Cesar

    thank you so much

  • may be count result is 0

  • Paul Gilligan

    I had the same problem. There are two lines of PHP very similar to each other, and the table name in your database needs to set in both.

    $sql = “SELECT * FROM

  • Vinu Chacko

    Thanks for you code. It work perfectly.. Again Thank you

  • Praveen kumar

    Lot of thanks