takn25 Posted April 1, 2011 Share Posted April 1, 2011 Hi, I have a row In mysql data base called time and the content is filled with the time function time (); I want to know is there a way to achieve this I want the entire column deleted if it has been 24 hours since the time row was filled. I want this to happen automatically I don't really know how to achieve this so any help would be much appreciated thanks. Link to comment https://forums.phpfreaks.com/topic/232465-delete-after-24-hours/ Share on other sites More sharing options...
lastkarrde Posted April 1, 2011 Share Posted April 1, 2011 Use cron to execute a pruning script. Link to comment https://forums.phpfreaks.com/topic/232465-delete-after-24-hours/#findComment-1195754 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.