Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $host = 'localhost'; // Host
- $username = 'USERNAME';
- $password = 'PW';
- $db = 'NAMADB';
- $konek = mysql_connect($host, $username, $password) or die ('Koneksi ke Database Gagal');
- mysql_select_db($db) or die ('Gagal Memilih Database');
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement