

<?php 
$db_host = "localhost";
$db_user = "root";
$db_pass = "";
$db_name = "gnethome";

$koneksi = mysqli_connect($db_host, $db_user, $db_pass, $db_name);
// Check connection
if(mysqli_connect_errno()){
	echo 'Gagal melakukan koneksi ke Database : '.mysqli_connect_error();
}
 
?>