I'm building an ebook type website with tons of pages. The pages have the php extension, but not much actual php is going on. The top nav for the whole site is in one php file and is included. I also want to do the main content as includes and the bottom nav as includes.
The main content will be in a folder called "page" and the files will be named "001.php, 002.php, 003.php..."
Is there a way to do the page navigation (Previous/Next style) at the bottom dynamically without using a database so I can build one bottom nav file and it will look at the existing page number and subtract 1 for the previous button or add 1 for the next button?
If you have suggestions other than what I'm thinking about, please don't hesitate to offer them.
Thanks
The main content will be in a folder called "page" and the files will be named "001.php, 002.php, 003.php..."
Is there a way to do the page navigation (Previous/Next style) at the bottom dynamically without using a database so I can build one bottom nav file and it will look at the existing page number and subtract 1 for the previous button or add 1 for the next button?
If you have suggestions other than what I'm thinking about, please don't hesitate to offer them.
Thanks