• Welcome to NamesLot.com Domain Name Forum

    NamesLot.com Domain Name Forum offers a fully open forum to discuss domain industry news and a 0% commission marketplace for you to buy and sell domain names.

    We have reorganized our Marketplace so now it is easier to get attention to your domain while it is also easier for buyers to find the right domain name.

    If you want us to add more threads to our marketplace, please contact us! Listing on our marketplace as always, 100% free! Register NOW or Login HERE!

Can I do "Prev/Next" type nav without a database?

Status
Not open for further replies.

chaneguye

New Member
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
 
Status
Not open for further replies.

Members online

Forum statistics

Threads
20,545
Messages
70,550
Members
44,657
Latest member
Czeko
Active members today
5
New members today
2
New threads today
70
New posts today
71

Latest Listings

Follow NamesLot on Twitter!

NamesLot proudly supported by

NamesLot proudly supported by

Top