Please, anyone here to help me correct this code, it was telling me that could not connect to database.
My site is flashysky.com
database name : is flashysky

please help me to correct it and send it to my email jimohwareez@gmail.com

I will really appreciate if you can help me out.

Thanks.

<?php
$mysql_hostname = "flasycom_flashysky";
$mysql_user = "flasycom@localhost";
$mysql_password = "household";
$mysql_database = "flasycom_flashysky";
$prefix = "";
$bd = mysql_connect($mysql_hostname, $mysql_user, $mysql_password) or die("Could not connect database");
mysql_select_db($mysql_database, $bd) or die("Could not select database");

?>

Would something like this be clean enough? Add the required 4 SQL Database details between the ''

<?php
//#################################################################
//Only edit the following 4 varibles
$SQLhost = /* SQL Host     */  '';
$SQLuser = /* SQL Username */  '';
$SQLpass = /* SQL Password */  '';
$SQLdb   = /* SQL Database */  '';
//#################################################################
// DO NOT EDIT - editing this can/will break the connection string.
$con = mysql_connect("$SQLhost","$SQLuser","$SQLpass") or die (mysql_error());
mysql_select_db("$SQLdb") or die (mysql_error());
//#################################################################
?>

Then when you need to use it either have on top of pages or in a seperate file.

<?php include_once "SQLConfig.php"; ?>