Advertisement
Guest User

Untitled

a guest
Aug 29th, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. <?php
  2. $host = "localhost";
  3. $user = "root";
  4. $pass = "root";
  5. $name = "tutorialweb";
  6.  
  7. $koneksi = @mysql_connect($host, $user, $pass) or die("Koneksi ke database gagal!");
  8. mysql_select_db($name, $koneksi) or die("Tidak ada database yang dipilih!");
  9. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement