here is my code
CODE
<?php
$dbcnx = @mysql_connect("localhost", "username", "password");
if (!$dbcnx) {
echo( "<P>Unable to connect to the " .
"database server at this time.</P>" );
exit();
} else {
echo ' Connected to the database server!';
}
//time to connect to the database
mysql_select_db("database_name", $dbcnx);
if (!@mysql_select_db("database_name") ) {
echo( "<P>Unable to locate the Calendar " .
"database at this time.</P>" );
exit();
}
?>
Thanks
-Paul