Ver Mensaje Individual
  #4 (permalink)  
Antiguo 06/05/2012, 09:12
aletutuca
 
Fecha de Ingreso: julio-2011
Mensajes: 24
Antigüedad: 12 años, 10 meses
Puntos: 0
Respuesta: problema de php con mysql

Bueno les comento q la conexion esta bien ya q si decido por ej eliminar datos si me lo permite, solo q no me permite insertar o modificar.
la base es productos.producto.
y el error q me da es:
al insertar

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 'desc,nombre,foto,precio,marca)VALUES('fdgdf','dfg vdg','dfg','dfgfdg','dfgfd')' at line 1

al modificar

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 'desc='hjgvj jfj gfjg jgjgj kgufj kjhdfjkg dfkgj kre kje rktj ekj gdh erghe h gjh' at line 1


por eso empiezo a creer q ahi algun tipo de problema porq al codigo lo revice y lo rehice 100 veces
espero me puedan ayudar :D