Previous / Next Buttons
I am looking to create a previous and next button on a site I'm building that responds to page numbers and not direct URLs. Is this something that is easy to do? Essentially, I am look to add a bit of code at the top each page, for instance, $current_page = "1";, and have the buttons respond to the number. This way if I continue to add pages I can just add a new number at the top and it will automatically go from page 1 to page 2 when I click next, and also at the last page when you click next go back to 1.
Hope that is clear enough. Thanks.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)