Tuesday, 17 November 2015

KODE PROGRAM KONEKSI PHP KE DATABASE MY SQL

<?php
$host="localhost";
$user="root";
$pass="";
$database="nama database";
mysql_connect($host,$user,$pass) or die ("server error");
mysql_select_db($database) or die ("database gagal dibuka");
?>

No comments:

Post a Comment