Ver Mensaje Individual
  #2 (permalink)  
Antiguo 14/08/2008, 11:19
Avatar de emiliodeg
emiliodeg
 
Fecha de Ingreso: septiembre-2005
Ubicación: Córdoba
Mensajes: 1.830
Antigüedad: 18 años, 8 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
__________________
Degiovanni Emilio
developtus.com