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

echo "=== Judge Assignments ===\n";
$stmt = $pdo->query("SELECT * FROM judge_assignments LIMIT 10");
$assignments = $stmt->fetchAll(PDO::FETCH_ASSOC);

if (empty($assignments)) {
    echo "No judge assignments found in database.\n";
} else {
    foreach($assignments as $a) {
        print_r($a);
    }
}
