Location: PHPKode > scripts > Very Simple Events List > very-simple-events-list/library/opendb.php
<?php
// This is an example opendb.php
$conn = mysql_connect($dbhost, $dbuser, $dbpass) or die("Error connecting to $dbhost");
mysql_select_db($dbname) or die("Cannot select $dbname"); 
?>
Return current item: Very Simple Events List