Advertisement
Guest User

config2

a guest
Apr 26th, 2016
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.19 KB | None | 0 0
  1. <?php
  2. $host="localhost";
  3. $user="root";
  4. $pass="";
  5. $db_name="db_aplikasi_siswa";
  6.  
  7. mysql_connect($host,$user,$pass);
  8. $q=mysql_select_db($db_name);
  9. if (!$q) {
  10.     echo "gagal tersambung";
  11. }
  12. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement