
­­­­­­­­­­­­­­­­­­
<!DOCTYPE html>
<html>
<?php

$host     = "localhost";
$database = "balubaid_autozoneoffers";
$username = "balubaid_autozoneoffers";
$password = "Vision@2050";

$conn = new mysqli($host, $username, $password, $database);

if ($conn->connect_error) {
    die(json_encode([
        "success" => false,
        "message" => "Database connection failed",
        "error"   => $conn->connect_error
    ]));
}

$conn->set_charset("utf8mb4");