Guest User

Untitled

a guest
Nov 26th, 2017
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. <?php
  2.  
  3. $host = 'localhost';
  4. $user = 'root';
  5. $password = '';
  6. $database = 'koperasi_db';
  7.  
  8. $konek_db = mysqli_connect($host, $user, $password, $database);
  9.  
  10. if ($find_db)
  11. echo "Berhasil";
  12. else echo "Gagal Koneksi";
  13.  
  14. ?>
Add Comment
Please, Sign In to add comment