<?php
/* =========================
   Database Configuration
   ========================= */

$db_host = "localhost";
$db_user = "xpiphwkv_billing";          // change if needed
$db_pass = "Billing@2026";              // change if needed
$db_name = "xpiphwkv_retail_shop";  // your database name

/* =========================
   Database Connection
   ========================= */

mysqli_report(MYSQLI_REPORT_ERROR | MYSQLI_REPORT_STRICT);
$conn = new mysqli($db_host, $db_user, $db_pass, $db_name);

/* Check connection */
if ($conn->connect_error) {
    die("Database connection failed: " . $conn->connect_error);
}

/* =========================
   Charset (VERY IMPORTANT)
   ========================= */
$conn->set_charset("utf8mb4");
