Ver Mensaje Individual
  #2 (permalink)  
Antiguo 20/08/2007, 15:03
Avatar de GatorV
GatorV
$this->role('moderador');
 
Fecha de Ingreso: mayo-2006
Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 18 años
Puntos: 2135
Re: Eliminar usuario si en cierto tiempo no se activa

Puedes hacer algo asi:
Código PHP:
$hoy date"Y-m-d h:i:s" );
$query "DELETE FROM `usuarios` WHERE `Fecha`<'$hoy' AND `activado`=0" 
Saludos.