Guest User

Untitled

a guest
May 16th, 2016
33
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. $pass = "";
  6. $dbName = "warong_nakam";
  7.  
  8. $koneksi = new mysqli($host,$user,$pass,$dbName);
  9.  
  10. if ($koneksi->connect_errno) {
  11. die('Koneksi error : ' . $koneksi->connect_errno);
  12. }
  13.  
  14.  
  15. ?>
Add Comment
Please, Sign In to add comment