<?php

$host = "localhost";
$user = "root";
$pass = "";
$db   = "webgis_parsiltanah";

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

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