Advertisement
Guest User

Untitled

a guest
Jan 6th, 2017
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.17 KB | None | 0 0
  1. <?php
  2.    
  3.     $host = "localhost";
  4.     $user = "root";
  5.     $pass = "";
  6.     $db = "mahasiswa";
  7.  
  8.     mysql_connect($host, $user, $pass)
  9.     or die(mysql_error());
  10.  
  11.     mysql_select_db($db);
  12. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement