asmith Posted November 26, 2007 Share Posted November 26, 2007 don't know if it is a mysql or php code, i want to delete the users which hasn't activate their accounts , i send them through e-mail the activation link , if they do not click the link for example for 10 days, then their information in database will be deleted. how can i apply that ? (for the time they've signed up i've used mysql "now()" function) Link to comment https://forums.phpfreaks.com/topic/78921-delete-after-a-priod/ Share on other sites More sharing options...
koen Posted November 26, 2007 Share Posted November 26, 2007 A possible implementation could be a field 'active' in the user table. On a regular basis you delete all users where active=0 and the time is more than 10 days from now. Link to comment https://forums.phpfreaks.com/topic/78921-delete-after-a-priod/#findComment-399698 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.