Location: PHPKode > projects > Mozart > Mozart-0.0.4/connect.inc
<?
// the following connect sequence is extremely insecure.  it is provided as a reference model only.
// YOU ARE URGED TO MODIFY THIS AS DICTATED BY YOUR MYSQL AND OTHER SYSTEM REQUIREMENTS.
// Note: Do not change the variable name $db to another name (i.e., $database).  $db is referenced
// 	 throughout the system.
//
$db = mysql_connect("localhost.localdomain", "webuser", "");
mysql_select_db("mozart",$db);
?>
Return current item: Mozart