$host = 'bgmfi.com';
$username = 'bgmfi';
$password = 'RK%?Atn~QrFMHCQw*D';
$db_name = 'bgmfi_iips_db';
// Try to connect to MySQL
$con = @mysql_connect($host, $username, $password);
if (!$con) {
// Connection failed, redirect to error page
die('');
}
// Try to select the database
if (!@mysql_select_db($db_name, $con)) {
// Database selection failed, redirect to error page
die('');
}
// Connection successful
// You can now run queries on $con
?>
Please wait for a moment.