diff --git a/html/functions/db_methods.php b/html/functions/db_methods.php index 618eff943fd138cafffc65c71bb320eab9f0041a..19716fbb0d3a3d5b847fa93038300ec70abac603 100644 --- a/html/functions/db_methods.php +++ b/html/functions/db_methods.php @@ -288,7 +288,8 @@ function db_getLatestFromSpieler($days=34){ $sql = 'SELECT *, Statistik.zeitstempel AS zeitstempl FROM Spieler INNER JOIN Statistik ON Spieler.id = Statistik.SpielerID WHERE Statistik.zeitstempel > NOW()-'.$days.' GROUP BY SpielerID ORDER BY zeitstempl DESC'; $result = $db->query($sql); - + echo $sql; + $ROW=Array(); while( $row = $result->fetch_assoc() ){ $row['id']=bin2hex($row['id']);