Need help with simple code, back and forward buttons.


Posted on 16th Feb 2014 07:03 pm by admin

Basically, I have a set of pages in a folder, which have the title somephrasehere_09.php, somephrasehere_10.php, somephrasehere_11.php, etc. On each of these pages, I want to include a common code that acts as a previous and next link. So, on the 10.php page, I want some code that will link to 09.php (and one for 11.php), and on another page, say 05.php, I want to be able to use the same code, resulting in links to 04.php and 06.php.

Now, my PHP knowledge is limited, but it seems to me that manipulating URLs and adding/subtracting numbers to create a new URL should be fairly simple. So, can someone help me with how to do this?

Sorry if you're not supposed to post requests here

No comments posted yet

Your Answer:

Login to answer
132 Like 12 Dislike
Previous forums Next forums
Other forums

Parse multirow HTML table
Hello all,
I have a site I am working on. Its a sports site and I am trying to add stats to a DB

How to ask a regex question?
Hi, I thought I'd share some of my insight after seeing too many bad questions that either get ignor

PL/SQL: ORA-00947: not enough values error message
Hi all i am getting Error(25,63): PL/SQL: ORA-00947: not enough values error message when executing

help with contest script
I would like to code a contest script to my site but i don't know how. Could someone just give me pu

Attempt to assign property of non-object in...
I'm having issues with the following function in PHP 5...

function getTreeWithChildre

Solution Manager BPR
Does the SolMan-BPR-ARIS-Integration (http://www.ids-scheer.com/en/ARIS/ARIS_Platform/ARIS_Business_

building a function with multiple outputs
I want to build a function that has multiple outputs.

I know but am not to sure how I should

get font info from a font file
hello,

Does anyone know how to get font info from a font file ... using php of course !
<

PHP and MySQL Question/Help
I have a MySQL db with all my servers and all their details like server name, IP, OS, RAM etc etc 26

PHP & MS Access - Line Break
Hey Guys!

I'm pulling records from an MS Access database and listing them using PHP and I'm r

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash