Guest User

Koneksi.php

a guest
Feb 27th, 2018
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.28 KB | None | 0 0
  1. <?php
  2. $host = "localhost"; // server
  3. $user = "root"; // username
  4. $pass = ""; // password
  5. $database = "rumahmakan"; // nama database
  6.  
  7. $koneksi = mysql_connect($host, $user, $pass, $database); // menggunakan mysql_connect
  8.  
  9. mysql_select_db("pelanggan") or die(mysql_error());
  10. ?>
Add Comment
Please, Sign In to add comment