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

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

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