mirror of
https://github.com/rekywhyd/gis_tugas.git
synced 2026-07-07 02:13:07 +00:00
first commit
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
$host = getenv('DB_HOST') ?: "localhost";
|
||||
$user = getenv('DB_USER') ?: "root";
|
||||
$pass = getenv('DB_PASS') ?: "";
|
||||
$name = getenv('DB_NAME') ?: "gis_tugas";
|
||||
|
||||
$conn = mysqli_connect($host, $user, $pass, $name);
|
||||
if (!$conn) { die("Koneksi gagal: " . mysqli_connect_error()); }
|
||||
?>
|
||||
Reference in New Issue
Block a user