I am trying to connect to a database I created using the C-panel. I have the script installed correctly becuse I get a error message that I wrote when I try to go to the home page that says cant connect to sql database. here is the code I have. Can you tell me what I have done wrong?
$db_host = "localhost";
$db_username = "fepiiakh_Aaron";
$db_pass = "Du2Ef^JBO.qv";
$db_name = "fepiiakh_test";
@mysql_connect("$localhost","$fepiiakh_Aaron","$Du 2Ef^JBO.qv") or die ("Aaron I could not connect to mysql");
@mysql_select_db("$fepiiakh_test") or die ("no database");