When I put the following code into my mysql_connect.php file I created, it is not generating any output but I am pretty sure that it is not connecting to the database properly either. Do any of you see any problems with this code? Any way to test if it was successful or not?

PHP Code:
('DB_USER''myuser'); // Database username.
DEFINE ('DB_PASSWORD''mypassword'); // Database password.
DEFINE ('DB_HOST''localhost'); // Database hostname.
DEFINE ('DB_NAME''mydbname'); // Database name.

$dbc = @mysql_connect (DB_HOSTDB_USERDB_PASSWORD) OR die ('Could not connect to MySQL: ' mysql_error());
mysql_select_db (DB_NAME) OR die('Could not select the database: ' mysql_error());