Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => Images

pagination help !

images php coding issues or problems here.

Moderators: macek, egami, gesf

pagination help !

Postby Vish » Fri Oct 08, 2010 8:02 pm

:help:
hey guys..Hello,

My question is..
Is there any way to add pagination to a file in which i display images read from a folder?
As i am new to php m stuck wit pagination and i cant think of any solution.

Plz anyone help me...
Thanks
Vish
New php-forum User
New php-forum User
 
Posts: 1
Joined: Fri Oct 08, 2010 7:52 pm

Re: pagination help !

Postby Turboladdade » Wed Nov 03, 2010 5:13 pm

I've just finished up a pagination script that I'm eager to share and see other people use, and it may help you here.

You can find it at http://www.phpagination.com

In your case, you'd merely need to count the number of files in your folder, and wherever you output HTML to the browser, apply the number of files and the current file which can be received as a GET variable from the URL.
Turboladdade
New php-forum User
New php-forum User
 
Posts: 3
Joined: Wed Nov 03, 2010 5:11 pm


Return to PHP coding => Images

Who is online

Users browsing this forum: Google [Bot] and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.