<?php
// config.php — Sambungan MySQLi
$DB_HOST = 'localhost';
$DB_USER = 'root';
$DB_PASS = '';            // tukar ikut server
$DB_NAME = 'pustemxy_hem_dashboard';

$mysqli = @new mysqli($DB_HOST, $DB_USER, $DB_PASS, $DB_NAME);
if ($mysqli->connect_errno) {
  http_response_code(500);
  die('Gagal sambung MySQL: '.$mysqli->connect_error);
}
$mysqli->set_charset('utf8mb4');
