Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $host = "localhost";
- $user = "root";
- $pass = "generate";
- $name = "app";
- $koneksi = mysql_connect($host, $user, $pass) or die("Koneksi ke database gagal!");
- mysql_select_db($name, $koneksi) or die("Tidak ada database yang dipilih!");
- ?>
Add Comment
Please, Sign In to add comment