kupe
Technical User
- Sep 23, 2002
- 376
Click on the leftnav for whichever month’s news you want on the website. The php coding for each of the 12 pages is almost identical.
The only change is the heading - ‘Our news for January’ or ‘Our news for April’ etc – and of course the name of the table, JanNews, FebNews, MarchNews etc.
Is there a way, please, for just the one page to handle the news for all of the year, for all of each of those 12 months?
So whichever month is chosen, the code automatically changes the code in those two or three places - for whichever month's news is selected?
The only change is the heading - ‘Our news for January’ or ‘Our news for April’ etc – and of course the name of the table, JanNews, FebNews, MarchNews etc.
Is there a way, please, for just the one page to handle the news for all of the year, for all of each of those 12 months?
So whichever month is chosen, the code automatically changes the code in those two or three places - for whichever month's news is selected?