$server = "localhost";
$username = "root";
$password = "";
$database = "dblokomedia";
// Koneksi dan memilih database di server
mysql_connect($server,$username,$password) or die("Koneksi gagal");
mysql_select_db($database) or die("Database tidak bisa dibuka");
No comments:
Post a Comment