<?php
$user_name = "root";
$password = "";
$database = "mahasiswa";
$host_name = "localhost";
$sambung = mysql_connect ($host_name, $user_name,$password);
if ($sambung){
echo "koneksi Berhasil";
}
else {
echo "koneksi Gagal";
}
?>
Tidak ada komentar:
Posting Komentar