PDA

View Full Version : Short PHP Script



Zeke
4th March 2006, 12:55 AM
I really don't know PHP, outside of HOW to use it (and I've really only worked with includes). I need help with just a minor little thing:

I know a lot of people here read webcomics, so this may work as an analogy I suppose. I'm looking for a script that'll put the links under something so that it goes kind of like:

<<-first <-back | next-> last->>

Just as an example, so you know what I'm talking about. Can someone guide me through setting up something like that? I figure it shouldn't be too hard, but I can't really google it (unless there's some key word I'm missing, though searching 'pagination' didn't help me either).

Xull
4th March 2006, 06:43 AM
Maybe a few of these might help?

http://www.phpfreaks.com/tutorials/73/0.php
http://www.onlamp.com/pub/a/php/2000/11/02/next_previous.html
http://www.spoono.com/php/tutorials/tutorial.php?url=nextprev
http://www.onlinetools.org/articles/previousnextbuttons.php
http://codewalkers.com/tutorials.php?show=4
http://www.webmastertalk.in/showthread.php?t=977

Zeke
4th March 2006, 07:46 PM
Actually no, it didn't help. >>

But I figured out how to do it with an array (since it's not a large amount of files to paginate). Thanks though, it gave me the idea. :]