<?php
$host = "localhost";
$user = "root";
$pass = "";
$db   = "db_pesantren_nurul_iman";

$conn = mysqli_connect($host, $user, $pass, $db);

if (!$conn) {
    die("Koneksi gagal: " . mysqli_connect_error());
}
