<?php
require_once 'includes/db.php';

echo "=== Judges ===\n";
$stmt = $pdo->query("SELECT * FROM judges LIMIT 10");
$judges = $stmt->fetchAll(PDO::FETCH_ASSOC);

foreach($judges as $j) {
    echo "ID: {$j['id']}, Name: {$j['name']}, Head: {$j['is_head']}\n";
}
