link to next/prev in the headers vs page body
The question arose when I was looking at the Dreamweaver help section on page headers and I noticed that the headers could contain next/previous information. I asked the question there about the utility of putting that info in the headers rather than in the page body itself. I was directed here.
This is my question:
In a series of pages, I'm assuming that I can use php to supply links for Next, Prev, Index in the headers because I am already using it for the page titles. Is there any downside to this (other than, of course, insuring that the links exist, etc.)? Would I then have an href 'Next' in the page display which would refer to the header? Would it be better to put the php at the href in page itself and not put it into the header? I guess the bottom line to my question is this: php can figure out which page should be made next.
Where is the best place to put this if the user wants to go to the next page. I have a series of monthly calendars, starting with Sept 2006 and complete to Dec 2009 (with more to be added as time marches on). Except for Nov & Dec 2009, these pages are html and will be converted to php.
Please understand, I know how to put the links into the page body and my calendar names are based on the date. My question centers on whether there is and advantage in putting the Next/Previous info in the header and if so, what is the advantage?
As far as the actual page name, it goes like this: calendarYYYY_MM.php where YYYY = 4 digit year and MM = 2 digit month.
The base page, calendar.php takes the viewer to the current month, whatever that is. I know how to put the links in for the page body. Do I use the page header in calendar.php to generate the page name for the other pages? Is that how it works?
Any guidance on this would be helpful. Thanks.
