isLogin()) { $db_slave = new Database($config['dbext'], $config['dbhost'], $config['dbuser'], $config['dbpass'], 'sks_gametracking'); foreach($_POST as $key => $value) { $text .= "UPDATE sks_core_settings SET `value` = '{$value}' WHERE setting = '{$key}';"; } $db_slave->query($text); $db_slave->execute(); return true; //echo '