php pagination

Simple pagination in php using javascript

Paging means showing your query result in multiple pages instead of just put them all in one long page.

SQL SELECT statement query may result into thousand of records. But its is not good idea to display all the results on one page. So we can divide this result into many pages as per requirement.

Copy and paste the below code, and run it on your localhost
1. PHP code to display records

2. Javascript to add pagination