<?php
$host = 'localhost';
$dbname = 'bkdurcgh_desire';
$username = 'bkdurcgh_desire';
$password = 'bkdurcgh_desire';

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