prepare("SELECT b.bet, u.username FROM bets b JOIN users u ON b.uid = u.uid ORDER BY b.bet DESC LIMIT 10;"); $stmt->execute(); $result = $stmt->get_result(); $bets = $result->fetch_all(MYSQLI_ASSOC); $stmt->close(); // Top 10 wins $stmt = $conn->prepare("SELECT b.win, u.username FROM wins b JOIN users u ON b.uid = u.uid ORDER BY b.win DESC LIMIT 10;"); $stmt->execute(); $result = $stmt->get_result(); $wins = $result->fetch_all(MYSQLI_ASSOC); $stmt->close(); // Top 10 users by money $stmt = $conn->prepare("SELECT * FROM users ORDER BY money DESC LIMIT 10"); $stmt->execute(); $result = $stmt->get_result(); $users = $result->fetch_all(MYSQLI_ASSOC); $stmt->close(); ?> Hit and Run — Leaderboard

Hit Or Run — Leaderboard

Top Rich Mans

$user): ?>
# Player Earnings

Top Crazy Mans

# Player $bet): ?>

Top Lucky Mans

$win): ?>
# Player Earnings