From 7e5c50603cbe1307d68a2b5b8ee14409e15a9dcb Mon Sep 17 00:00:00 2001 From: Matthijs Kuiper Date: Sun, 14 Jan 2018 20:08:50 +0100 Subject: Update to mysqli --- html/import/import_jailbreak.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'html/import/import_jailbreak.php') diff --git a/html/import/import_jailbreak.php b/html/import/import_jailbreak.php index 6d6e0da..dded76f 100755 --- a/html/import/import_jailbreak.php +++ b/html/import/import_jailbreak.php @@ -12,11 +12,11 @@ $r_efficiency = get_dp(($r_kills / ($r_kills + $r_deaths + $r_suicides + $r_teamkills)) * 100); - mysql_query(" UPDATE uts_player + mysqli_query($GLOBALS["___mysqli_link"], " UPDATE uts_player SET ass_obj = '$r_releases', suicides = '$r_suicides', frags = '$r_frags', eff = '$r_efficiency' - WHERE id = $playerecordid;") or die(mysql_error()); + WHERE id = $playerecordid;") or die(mysqli_error($GLOBALS["___mysqli_link"])); ?> \ No newline at end of file -- cgit