<?php
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);

require_once __DIR__ . '/../config.php';

try {
    echo "USERS TABLE:\n";
    $q = $pdo->query("DESCRIBE users");
    print_r($q->fetchAll(PDO::FETCH_ASSOC));

    echo "\nADMINS TABLE:\n";
    $q = $pdo->query("DESCRIBE admins");
    print_r($q->fetchAll(PDO::FETCH_ASSOC));
} catch (PDOException $e) {
    echo $e->getMessage();
}
