![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
27/06/2016, 18:06
|
| | Fecha de Ingreso: mayo-2014 Ubicación: Valencia
Mensajes: 63
Antigüedad: 10 años, 9 meses Puntos: 0 | |
Respuesta: Actualizar datos en la base de datos desde PHP Con eso el registro que he probado a editar es el 92 y haciendo un echo $insertSQL me devuelve lo siguiente:
UPDATE tbllibro SET strLibro='EIE', strPrecio=, strAno='2015/2016', strVentas=10, strvVentas=105.80, strDerechos='0.75', strvDerechos=0.79, strRetencion=19, strValorRetencion=0.1501, strNeto=0.6399, intCliente=9, strObserva='Prueba2', strFecha='12/12/2015' WHERE intLibro=92
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 ' strAno='2015/2016', strVentas=10, strvVentas=105.80, strDerechos='0.75', strvDe' at line 1
Veo que strPrecio me da un resultado sin nada :S
Última edición por mortisdj; 27/06/2016 a las 18:22 |