Ver Mensaje Individual
  #2 (permalink)  
Antiguo 24/09/2012, 18:39
Avatar de Briss
Briss
 
Fecha de Ingreso: junio-2011
Mensajes: 1.293
Antigüedad: 12 años, 10 meses
Puntos: 12
Respuesta: Eliminar un registro de acuerdo a una fecha dada en mi Bd

Lo hice asi

Código PHP:
$fechaactualtime(); 

$query_eliminar=sprintf("Delete * FROM fechaacm where fechac='$fechaactual'"); 
y me manda esto
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '* FROM fechaacm where fechac='1333672416'' at line 1


fechac es de tipo date