Friday, 20 July 2012

code koneksi ke database

<?php
$server = "localhost";
$user= "root";
$password = "";
$database ="forumkita";

mysql_connect ($server,$user,$password) or die ("koneksi gagal");
mysql_select_db ($database) or die ("tidak ada database");
?>

0 komentar:

Post a Comment