Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $db_host = "localhost";
- $db_user = "root";
- $db_pass = "";
- $db_name = "web";
- $koneksi = mysqli_connect($db_host, $db_user, $db_pass, $db_name);
- if(mysqli_connect_errno()){
- echo 'Gagal melakukan koneksi ke Database : '.mysqli_connect_error();
- }
- ?>
Add Comment
Please, Sign In to add comment