Guest User

Untitled

a guest
Dec 23rd, 2018
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. <?php
  2.  
  3. $host = "localhost";
  4. $user = "root";
  5. $pass = "123";
  6. $db = "zaen";
  7. $conn = mysqli_connect($host, $user, $pass, $db);
  8. if($conn){
  9. echo "Koneksi Kedatabase Berhasil";
  10. }else {
  11. echo "Koneksi Kedatabase gagal";
  12. }
  13.  
  14. ?>
Add Comment
Please, Sign In to add comment