Comic navigation in PHP
Posted: Sat Jun 15, 2002 3:58 pm
I'm in the process of creating a PHP-based navigation for a comic series I'm hosting. So far I have a fairly simple template-with-variable-image thing worked out (viewable at http://tisoft.subfactor.net/tisoft/comics.php).
Anyway, what I'm trying to do is have it so in the page where the issues are displayed, there is "FIRST - PREVIOUS - COMICS - NEXT - LAST" instead of just "COMICS". It's simple enough for First, Comics and Last, since the url doesn't change, but I can't figure out how I'd go about making the Previous and Next links since they change according to which comic is being displayed. Is there a simple way to do this or should I just keep it as it is? Thanks in advance!
Anyway, what I'm trying to do is have it so in the page where the issues are displayed, there is "FIRST - PREVIOUS - COMICS - NEXT - LAST" instead of just "COMICS". It's simple enough for First, Comics and Last, since the url doesn't change, but I can't figure out how I'd go about making the Previous and Next links since they change according to which comic is being displayed. Is there a simple way to do this or should I just keep it as it is? Thanks in advance!