I'm a little lost with this and in need of direction.
I want to be able to have a back link which takes the user back to his previous page, which I know how to do. However, I would like to user to have the ability to go back again to their 3rd page.
For example.
Page 1 is visited
Page 2 is visited
Page 3 is visited
Page 4 is visited
On page 4, the user clicks the back button. Which takes the user to page 3. I want the user to be able to click back again and it takes them to page 2.
Right now my script just flips between the last two pages as when they hit back on page 4, page 4 becomes the last page in the array...
Is there any simple way to do this with php along?