<?php
declare(strict_types=1);
require_once __DIR__ . '/../includes/db.php'; // adjust if includes is inside /public
$row = $pdo->query("SELECT 1 AS ok")->fetch();
echo ($row['ok'] ?? null) === 1 ? 'DB OK ✅' : 'DB query failed ❌';
