"; require_once 'db/config.php'; echo "db/config.php included successfully.
"; try { echo "Attempting to connect to the database...
"; $pdo = db(); echo "Database connection successful!
"; } catch (PDOException $e) { echo "Database connection failed: " . $e->getMessage() . "
"; }