include page number in a table

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
greedyisg00d
Forum Commoner
Posts: 42
Joined: Thu Feb 12, 2009 2:48 am

include page number in a table

Post by greedyisg00d »

Hi I have a hard coded table in my page which the values are retrieve from a database. The rows and cells are produced using while loop. My problems is sometimes the query result is more than 100 rows and what I want is the result that will be viewed will only contain 20 rows and users can navigate the other rows though page number. Any sample codes will be appreciated. Thanks
User avatar
susrisha
Forum Contributor
Posts: 439
Joined: Thu Aug 07, 2008 11:43 pm
Location: Hyderabad India

Re: include page number in a table

Post by susrisha »

its called pagination. There are plenty of classes available in this forum. Do a forum search.
Post Reply