<?php
$host = "localhost";
$user = "root";
$pass = ""; // Kosongkan, jangan ada spasi
$db   = "peta_spbu";

$conn = new mysqli($host, $user, $pass, $db);

if ($conn->connect_error) {
    die("Koneksi ke database gagal: " . $conn->connect_error);
}
?>