Skip to content

Instantly share code, notes, and snippets.

@blogcacanid
Created July 5, 2020 23:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save blogcacanid/b6894c0361a044fcc3e4d231913c59df to your computer and use it in GitHub Desktop.
Save blogcacanid/b6894c0361a044fcc3e4d231913c59df to your computer and use it in GitHub Desktop.
_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