Commit f7d37c88 by Mei Romauli Sagala

membuat koneksi pada database

parent f92a0fb7
<?php
$host="127.0.0.1";
$user="root";
$pass="";
$name="mydb";
$koneksi=mysql_connect($host,$user,$pass)or die("Koneksi ke database gagal!");
mysql_select_db($name,$koneksi)or die("Tidak ada database yang dipilih!");
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment