Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
_connection.php Koneksi db_pegawai
<?php
$host = "localhost";
$user = "root";
$pass = "";
$dbname = "db_pegawai";
$connection = mysqli_connect($host,$user,$pass,$dbname);
if(!$connection){
die ("Koneksi dengan database gagal: ".mysql_connect_error());
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.