Location: PHPKode > projects > XMasDB > xmasdb/lib/opendb.php
<?php
// This is an example opendb.php
$conn = mysql_connect($dbhost, $dbuser, $dbpass) or die ('Error connecting to mysql');
mysql_select_db($dbname);
?>
Return current item: XMasDB