<?php
// 1️⃣ DB connection
$dbHost = "localhost";
$dbName = "bpiadvis_hb";
$dbUser = "bpiadvis_hb";
$dbPass = "HealthBuro2025!!";

try {
    $pdo = new PDO("mysql:host=$dbHost;dbname=$dbName;charset=utf8mb4", $dbUser, $dbPass, [
        PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION
    ]);
} catch (PDOException $e) {
    respond(false, 'Database connection failed: ' . $e->getMessage());
}
?>