<?php
$host = "localhost";
$dbname = "howardwe_caregiver_v2";
$username = "howardwe_caregiver_user";
$password = "Jason21@(!)";

try {
    $pdo = new PDO(
        "mysql:host=$host;dbname=$dbname;charset=utf8mb4",
        $username,
        $password
    );
    $pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
} catch (PDOException $e) {
    die("Database connection failed: " . $e->getMessage());
}
?>