Location: PHPKode > projects > Computer Service Company Database > SOLOCMS/db.php
<?
$db_user = "";
$db_pass = ""; // password here
$db = "";
$host = ""; // if this is the same server as the web server, leave it as localhost, otherwise use mysql.adfasd.com
$link = mysql_connect($host,$db_user,$db_pass) or die("Database connection broken");
mysql_select_db($db,$link) or die("Database connection unavailable - ".mysql_error() );
?>
Return current item: Computer Service Company Database