query("SELECT `match`.`name` AS `match_name`, `command-1`, `command-2`, `start`, `user`.`name` AS `user_name`, `bet`.`result-1`, `bet`.`result-2`, `bet`.`bet_time` FROM `match` LEFT JOIN `bet` ON `bet`.`match_id` = `match`.`id` LEFT JOIN `user` ON `user`.`email` = `bet`.`user_email` WHERE `bet`.`result-1` IS NOT NULL ORDER BY `bet`.`bet_time` DESC LIMIT 100"); $last_bets = $sth->fetchAll(); ?> 100 последних ставок пользователей
     

,

100 последних ставок
:

,