How would I fix this php mysql database problem? This is what it is bringing up.
http://themondaynightwars.netau.net/mysql_db_connect.php
Here is the code:
<?php
$mysql_host = "mysql7.000webhost.com";
$mysql_database = "a7695322_fedwars";
$mysql_user = "a7695322_lalnfl";
$mysql_password = "ponderosa619";
// Connect to Database
$con = mysql_connect("$mysql_host","$mysql_user","$mysql_ password");
if (!$con)
{
die('Could not connect: ' . mysql_error());
}
mysql_select_db("$mysql_database", $con) or die("Unable to connect");
mysql_close($con);
?> |