Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About durian

  • Rank
  1. Thanks again, but I'm afraid I must be doing something wrong. The footer stopped working properly after I tried to remove the looping 'if/else' bit and insert the Homepage link. :)So, if we could put everything together and have one PHP code without looping and including the "Previous Chapter | Homepage | Next Chapter" links what should it all look like?
  2. Cool, thanks. Oh, and if I want to have a footer like:Previous Chapter | Homepage | Next Chapter... Can I just insert a plain HTML link (e.g. www.myhomepage.com) in the middle of that PHP code? Or do I have to insert the homepage link in the middle of two separate PHP scripts?
  3. Many thanks, that PHP code is exactly the sort of thing I was looking for. :)Out of curiosity, what needs to be changed to prevent looping?
  4. Pardon my ignorance, but how do I do this? Yes, most of the chapters are named ab01.htm, ab02.htm, etc.
  5. I'm working on a text-based web site with hundreds of chapters. I need a header/footer on most pages with a link to "previous chapter" and "next chapter". I don't want to code all these chapter links manually, it'll take forever. Is there any simple way of creating multiple internal links? Using CSS or Javascript perhaps?
  • Create New...