Newer
Older
<?php
// This file must be copied in db.php and set correct values
$db_host = "";
$db_user = "";
$db_pass = "";
$db_name = ";
$db = mysql_connect($db_host, $db_user, $db_pass)
or die("<font color=red>can't connect</font>");
mysql_select_db($db_name, $db)
or die("<font color=red>can't find database</font>");
?>