Created
July 5, 2020 23:34
-
-
Save blogcacanid/b6894c0361a044fcc3e4d231913c59df to your computer and use it in GitHub Desktop.
_connection.php Koneksi db_pegawai
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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