This commit is contained in:
Gnieark 2016-06-10 11:07:52 +02:00
parent 88dcd56810
commit e839a5320d

View File

@ -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(