Pagination

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
ofi
Forum Newbie
Posts: 3
Joined: Sat Sep 25, 2004 12:45 pm
Location: Iceland

Pagination

Post by ofi »

Hi all
I am using Wordpress and plugin called wp-gallery, i have been trying to make pagination code into this gallery, its working "almost" thing is, if i upload more than 40 images, it wont show more, even i click next page, it only shows 20 images on first page, 20 on next, and thats it, hope you understand me, my English is not so good.

here is the gallery with the code included in the script, this gallery contains 45 images, but only shows 20 first page, 20 next, not more.
http://www.koddinn.com/myndir/album/born/

and here is the fim_functions code "the pagination is included" so, its long code :?
http://www.koddinn.com/files/fim_functions.phps

if anyone can "see" thru this what is wrong.......... i realy need help with this
User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

Post by pickle »

Your best bet is to do a search here for pagination. It's been discussed lots before & you might be able to find where you're going wrong by looking at other code.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
Post Reply