![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
08/04/2011, 10:15
|
![Avatar de da2](http://static.forosdelweb.com/customavatars/avatar9186_1.gif) | | | Fecha de Ingreso: abril-2003 Ubicación: Catalunya
Mensajes: 239
Antigüedad: 21 años, 3 meses Puntos: 0 | |
Respuesta: insert to ? Perdon por mi ignorancia.
El error es:
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,to) VALUES ('2','1','0','0','0','2','122','1','0.000001','amo unt','0000-00-' at line 1
Pero no veo cual es.
Lo bueno es que si quito la variable from y la variable to funciona perfectamente. |