From e839a5320d5117b9269974365720d2180b0c702e Mon Sep 17 00:00:00 2001 From: Gnieark Date: Fri, 10 Jun 2016 11:07:52 +0200 Subject: [PATCH] debug --- src/functions.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/functions.php b/src/functions.php index 3e20f51..091f826 100644 --- a/src/functions.php +++ b/src/functions.php @@ -180,6 +180,7 @@ function get_battles_history($game){ function ELO_get_podium($arena){ global $lnMysql; $podium=array(); + echo "SELECT id,name,description,ELO FROM bots WHERE game='".$arena."' AND active='1' ORDER BY ELO DESC, name"; $rs=mysqli_query($lnMysql,"SELECT id,name,description,ELO FROM bots WHERE game='".$arena."' AND active='1' ORDER BY ELO DESC, name"); while($r = mysqli_fetch_row($rs)){ $podium[]=array(