Ver Mensaje Individual
  #2 (permalink)  
Antiguo 23/12/2008, 17:50
Avatar de Ronruby
Ronruby
 
Fecha de Ingreso: julio-2008
Ubicación: 18°30'N, 69°59'W
Mensajes: 4.879
Antigüedad: 15 años, 9 meses
Puntos: 416
Respuesta: Actualizar registros en mysql

Código PHP:
$sql sprint_f("UPDATE nombre_tabla SET campo ='$', campo2 =%s"$variable$variable); 
Declaraste una funcion llamada sprint_f?
O te referias a sprintf?
http://www.php.net/manual/es/function.sprintf.php