How to delete data after some time from mysql table automatically after a inetrval of time. eg: 60 mins. Using php. I basically want that data from the column to get expired after some time or become Null or Zero. Any ideas how to do it. I know that TIMESTAMP DEFAULT CURRENT_TIMESTAMP field can be used to track how old the data is. But I don't know how to use it. Can anyone give a an code example?