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

$tables = $pdo->query("SHOW TABLES LIKE '%heat%'")->fetchAll();
echo "Heat-related tables:\n";
foreach ($tables as $t) {
    print_r($t);
}

// Check event_settings table
echo "\n\nEvent Settings for Event 6:\n";
$stmt = $pdo->query("SELECT * FROM event_settings WHERE event_id = 6");
$settings = $stmt->fetchAll(PDO::FETCH_ASSOC);
print_r($settings);
