
28/04/2009, 21:09
|
| | Fecha de Ingreso: abril-2009
Mensajes: 409
Antigüedad: 16 años Puntos: 3 | |
Respuesta: como subo una foto a la db mysql y como guardo la ruta en un campo? a eso quiero llegar.
intente asi $inserto = mysql_query ("insert into novedades nov_img values '$ruta'") or die(mysql_error());
pero me sale error de sintaxis en 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 'nov_img values 'imagen/112908095.JPG'' at line 1
Gracias. |