Search This Blog

Tuesday, July 26, 2011

How to display the output by page wise using php ?

Hi,


Can anybody, give me some sample coding to list out the ouput by page wise in PHP.





Example:
PAGE 1 2 3 4 NEXT PREVIOUS




I needs to use this concept in my project. For example, in my database table, am having 1500 records with the field ‘id’ and with the field ‘name’.


if i click page 1, it should show me first 0 to 100 records(id and name) and then if click page 2, it should show me 101 to 200 records and i should goes upto 1500 records.


Please help me out with sample coding. Thanks in advance

http://bit.ly/p0aTOC

No comments:

Post a Comment