anth0ny Posted December 15, 2008 Share Posted December 15, 2008 Hi I am building a holiday website. The client wants to add an expiry date so the holidays automaticaly come off the website Can anyone help? cheers Link to comment https://forums.phpfreaks.com/topic/137027-expiry-date/ Share on other sites More sharing options...
waynew Posted December 15, 2008 Share Posted December 15, 2008 Maybe give each holiday an expiry date column? Then, in your SQL, SELECT * FROM holidays WHERE expiry_date > CURDATE() Link to comment https://forums.phpfreaks.com/topic/137027-expiry-date/#findComment-715658 Share on other sites More sharing options...
anth0ny Posted December 15, 2008 Author Share Posted December 15, 2008 yeah that should work cheers for the help! Link to comment https://forums.phpfreaks.com/topic/137027-expiry-date/#findComment-715670 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.