![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
23/07/2010, 04:16
|
![Avatar de Vun](http://static.forosdelweb.com/customavatars/avatar315484_1.gif) | Colaborador | | Fecha de Ingreso: agosto-2009 Ubicación: Benalmádena, España
Mensajes: 2.265
Antigüedad: 15 años, 6 meses Puntos: 150 | |
Respuesta: Borrar datos MySQL cada x dias Esta sería la sentencia Mysql siempre que guardes en TIMECREACION el time() correctamente: DELETE from tabla where (UNIX_TIMESTAMP()-tabla.TIMECREACION)>86400 |