![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
14/08/2008, 11:19
|
![Avatar de emiliodeg](http://static.forosdelweb.com/customavatars/avatar113967_1.gif) | | | Fecha de Ingreso: septiembre-2005 Ubicación: Córdoba
Mensajes: 1.830
Antigüedad: 19 años, 5 meses Puntos: 55 | |
Respuesta: Problema con sprintf() $insertSQL = sprintf("INSERT INTO productos (id, id_cat, titulo, descripcion, metraje, pecio, imgprinc) VALUES (%s, %$, %s, %s, %s, %s, %s)", GetSQLValueString($_POST['id'], "int"), GetSQLValueString($_POST['id_cat'], "text"), GetSQLValueString($_POST['titulo'], "text"), GetSQLValueString($_POST['descripcion'], "text"), GetSQLValueString($_POST['metraje'], "text"), GetSQLValueString($_POST['pecio'], "text"), GetSQLValueString($filename, "text"));//linea55
tenes un signo $ en vez de una s |