Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $servername="localhost";
- $username="root";
- $password="";
- $database="db_urban";
- $koneksi=mysql_connect ($servername, $username, $password);
- if ($koneksi) {
- mysql_select_db ($database) or die ("Database Tidak Ditemukan");
- echo "<b> Koneksi Berhasil </b>";
- } else {
- echo "<b> Koneksi Gagal </b>";
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement