Commit 768d4342 by Oppir hutapea

perubahan koneksi database

parent 4cc64c7e
...@@ -4,10 +4,10 @@ ...@@ -4,10 +4,10 @@
// $conn = new mysqli ('127.0.0.1' , 'root' , '', 'formulir'); // $conn = new mysqli ('127.0.0.1' , 'root' , '', 'formulir');
// return $conn; // return $conn;
// } // }
$host = 'localhost'; $host = '172.21.1.13';
$user = 'root'; $user = 'spmbapp_utbk';
$pass = ''; $pass = '_0ppirG4nteng@';
$db = 'formulir'; $db = 'spmbapp_utbk';
$conn = mysqli_connect($host, $user, $pass, $db) or die ("Koneksi ke database GAGAL!!!"); $conn = mysqli_connect($host, $user, $pass, $db) or die ("Koneksi ke database GAGAL!!!");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment