koneksi.php
mysql_connect("localhost", "admin", "admin999") or die(mysql_error());
echo "Connected to MySQL< br />";
mysql_select_db("databaseku") or die(mysql_error());
echo "Connected to Database";
?>
dimana :
localhost --> nama host
admin --> user pada mysql
admin999 --> password pada mysql
databaseku --> nama database
<?php
mysql_connect("localhost", "admin", "admin999") or die(mysql_error());
echo "Connected to MySQL< br />";
mysql_select_db("databaseku") or die(mysql_error());
echo "Connected to Database";
?>
dimana :
localhost --> nama host
admin --> user pada mysql
admin999 --> password pada mysql
databaseku --> nama database
No comments:
Post a Comment
Silakan berkomentar ....