RSS

Pemograman Web


Materi Praktikum | Dreamweaver 8 | Xampp (win32-1.4.6)

Membuat Input Data Mahasiswa

db.php

<?

$server     = “localhost”;

$user        = “root”;

$password    = “”;

$database    = “(nama database yang dibuat)”;

$conn         = mysql_connect($server, $user, $password) or die(“Could not connect: ” . mysql_error()); mysql_select_db($database, $conn);

?>

 

DOWNLOAD SCRIPT

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: