Advertisement
Guest User

connect.php

a guest
Oct 1st, 2016
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.24 KB | None | 0 0
  1. <?php
  2. $user="root";
  3. $password="";
  4. $domain="localhost";
  5. $database="tutorial";
  6.  
  7. mysqli_connect ($domain,$user,$password,$database) or die ("tidak bisa terhubung ke database");
  8.  
  9. echo 'agan berhasil tersambung dengan database MySQL';
  10.  
  11. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement