loop logic..

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
User avatar
pleigh
Forum Contributor
Posts: 445
Joined: Wed Jan 19, 2005 4:26 am

loop logic..

Post by pleigh »

hi there,

can somebody advise me on how to build a logic?had a hard time coding.here is the scenario:i have a view topic page, showing all the topics from the database, i want to control the page showing only 10 topics, then showing a link below accessing the next 10 topics(in case there are topics), and another 10 and so on...hope u guys can share it to me...

thanks

pleigh
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

pagination.. you are looking for pagination.
User avatar
pleigh
Forum Contributor
Posts: 445
Joined: Wed Jan 19, 2005 4:26 am

Post by pleigh »

yup, it is pagination.is there any tutorial?

thnks feyd
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

I'm sure there are... and we've probably linked to them.... if you search.. you may find them. :)
Post Reply