Ver Mensaje Individual
  #4 (permalink)  
Antiguo 22/01/2010, 08:29
SoutlinK
 
Fecha de Ingreso: junio-2007
Mensajes: 189
Antigüedad: 16 años, 10 meses
Puntos: 3
Respuesta: Probelma Sintaxis

Al $valores2[0] tienes que sacarle las comillas, si es un numero

Código PHP:
mysql_query("UPDATE $tabla_nombre SET " $tags2[$i] . "= '" $valores2[$i] . "' where " .$tags2[0] . " = " $valores2[0] . " ") or die(mysql_error());