Location: PHPKode > projects > PHP MySQL Address Book > addressbook/library/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: PHP MySQL Address Book