Looking for pagination tutorials

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
tomfra
Forum Contributor
Posts: 126
Joined: Wed Jun 23, 2004 12:56 pm
Location: Prague, Czech Republic

Looking for pagination tutorials

Post by tomfra »

I am looking for some good pagination tutorials. I have a working pagination system but what I need is the ability to display links to the next x pages only (beside the previous / next links of course) so if I have 1000 pages I always see links let's say 1-10 and when I click on the 10th link it will display links 11-20 (or 10-19), when I click on 20 I will see links 21-30 and so on.

I have seen this on many websites but no description how to do this although I have a rough idea.

Thanks!

Tomas
User avatar
m3mn0n
PHP Evangelist
Posts: 3548
Joined: Tue Aug 13, 2002 3:35 pm
Location: Calgary, Canada

Post by m3mn0n »

[big_search]pagination tutorial[/big_search]

:)
Post Reply