Guest User

Untitled

a guest
Mar 9th, 2018
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. <?php
  2. $server = "localhost";
  3. $username = "username";
  4. $pass = "password";
  5.  
  6. $conn = new mysqli($server, $username, $pass);
  7.  
  8. if ($conn->connect_error) {
  9. die("Koneksi Gagal: " . $conn->connect_error);
  10. }
  11. echo "Koneksi Berhasil";
  12. ?>
Add Comment
Please, Sign In to add comment