<?php

$host = "localhost";
$user = "root";
$password = "";
$database = "portal_desa";

$conn = mysqli_connect($host, $user, $password, $database);

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

?>