Cita:
Iniciado por SoutlinK 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());
Me da este error:
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 '= '' where id_inmueble = 8' at line 1