Header menu

_________________________________________________________________________________

Thursday, 29 August 2013

Paging in php

To implement paging we need 3 things :
1. php code
2. css file
3. database

So first create a database with name paging (you can take any name but this is the name i am taking ).
Then create a table with name tb_page with 3 fields (id , title , description).


Then go to link below and download 3 files and save them with same name in your root directory ..
Download link :  https://gist.github.com/codesplanet/6386348

Note : Dont forget to change your host name , user name and password of database in pagination.php file ..


No comments:

Post a Comment