Ver original$query = mysql_query("UPDATE '$tabla' SET pro_'$id_hab' = '$precio' WHERE fecha ='$fecha'", $GLOBALS['DB']) or die (mysql_error());