john010117
Verified User
Hey all,
All those other php help sites failed me. I hope this isn't the case here.
On my index page, I have a news section. No php needed for that. But I want the website to automatically archive old news when the next day comes. So, if I type in index.php, it should automatically get the news for today (but I'm typing up the news). Sorry if this doesn't make sense. I want to have something like this (see the date at the top and the arrows?). How do you do that?
So, to view archived news, the URL will just be like index.php?date=122906 or something like that.
BTW, I know I need a database (which I already have).
All those other php help sites failed me. I hope this isn't the case here.
On my index page, I have a news section. No php needed for that. But I want the website to automatically archive old news when the next day comes. So, if I type in index.php, it should automatically get the news for today (but I'm typing up the news). Sorry if this doesn't make sense. I want to have something like this (see the date at the top and the arrows?). How do you do that?
So, to view archived news, the URL will just be like index.php?date=122906 or something like that.
BTW, I know I need a database (which I already have).