Ver Mensaje Individual
  #1 (permalink)  
Antiguo 25/09/2004, 08:18
Avatar de Takitei
Takitei
 
Fecha de Ingreso: septiembre-2004
Ubicación: Venezuela
Mensajes: 1.231
Antigüedad: 19 años, 7 meses
Puntos: 5
Problema sintax SQL INSERT

Hola a todos!

Tengo esta sintax:

Código PHP:
$ssql="INSERT INTO terms (id,keyword,category,definition,by,pdate,status) VALUES ('','$_POST[term]','','','','','')";
$rs=mysql_query($ssql) or die(mysql_error()); 
Me da este error:

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 'by,pdate,status) VALUES ('','incredible','','','','','')' at li

¿Qué será? ya lo he chequeado y nada. Busqué aca algún post similar pero sigo sin entender por qué sale el error!...

Gracias de antemano!
__________________
Takitei
Ingeniarte.com
DannyHerran.com
"Dadme un punto de apoyo y moveré la tierra" - Arquímedes.