Does anyone know how I could have a mysql table automatically delete a row based on the date? For example, if a user entered into a database has not activated his/her account with in one day, the user is automatically deleted.
Create a program which looks in the database and delete unactivated records that are more than 24 hours hold. Have some automation utility (like cron on *nix) run that program hourly. ______________________________________________________________________
TANSTAAFL!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.