Location: PHPKode > scripts > Php Installer > php-installer-1/open-db.php
<?
// Make a MySQL Connection
$cid = mysql_connect($host,$dbuser,$dbpwd);
if (!$cid) { print "ERROR: " . mysql_error() . "\n ";    
}
#select database to use
mysql_select_db("$dbname") or die(mysql_error());
?>
Return current item: Php Installer