diff options
author | Matthijs Kuiper <info@matthijskuiper.nl> | 2018-01-14 20:08:50 +0100 |
---|---|---|
committer | Matthijs Kuiper <info@matthijskuiper.nl> | 2018-09-01 11:48:28 +0200 |
commit | 7e5c50603cbe1307d68a2b5b8ee14409e15a9dcb (patch) | |
tree | 0fff0499b4d94f8ed2e13d72bfd97dec51cd283e /html/pages/match_info_lms.php | |
parent | 4d21dfcac97fd02c186bb3ce4085275b36e3790e (diff) |
Update to mysqli
Diffstat (limited to 'html/pages/match_info_lms.php')
-rw-r--r-- | html/pages/match_info_lms.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/html/pages/match_info_lms.php b/html/pages/match_info_lms.php index 3caffaa..21ba6c4 100644 --- a/html/pages/match_info_lms.php +++ b/html/pages/match_info_lms.php @@ -30,7 +30,7 @@ GROUP BY p.playerid
ORDER BY p.gamescore DESC, (0+e.col2) DESC";
- $q_players = mysql_query($sql_players) or die(mysql_error());
+ $q_players = mysqli_query($GLOBALS["___mysqli_link"], $sql_players) or die(mysqli_error($GLOBALS["___mysqli_link"]));
$header = true;
$totals['gamescore'] = 0;
@@ -45,7 +45,7 @@ $totals['ttl'] = 0;
$num = 0;
- while ($r_players = zero_out(mysql_fetch_array($q_players))) {
+ while ($r_players = zero_out(mysqli_fetch_array($q_players))) {
if ($header) {
$header = false;
echo '
|