stublackett Posted June 23, 2008 Share Posted June 23, 2008 Hi, I've got a Database setup that has data inserted into it when a user inserts news What I'm looking to do is archive the news items by the four seasons : Autumn, Winter, Spring & Summer My Database is a simple table setup as follows : idtitledescription Thats fine for the time being, But I'd like to archive the news by season My INSERT News PHP Code is as follows (I'm thinking of INSERTING a date field which you can do queries on) $sql = "INSERT INTO news(title,description) values ('$title','$description')"; Link to comment https://forums.phpfreaks.com/topic/111463-news-archiving/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.