maliary Posted November 8, 2007 Share Posted November 8, 2007 Hi, I would like to be deleteing certain records from my database automatically after every 72hrs. I have never tried this before but is it possible to perform actions after a certain duration of time in php ? Quote Link to comment Share on other sites More sharing options...
PHP_PhREEEk Posted November 8, 2007 Share Posted November 8, 2007 If there is a php file in your website that is used fairly regularly, then yes. If not, then you would need to use a CRON server-side job. The records in your database must have a time stamp (preferably a UNIX timestamp, which is easiest to work with for this type of job). PhREEEk Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.