Here is my index.html file. I load the page and nothing happens. Shouldn't it print "Please try again" on the webpage if my info is incorrect?
<html>
<body>
<h1>mySQL</h1>
<?php
$server = "mysql.blah.com";
$username = "my_username";
$password = "my_password";
$database = "my_database";
$mysqlConnection = mysql_connect($server, $username, $password);
if (!$mysqlConnection){
echo "Please try later.";
}
else {
echo "All good";
mysql_select_db($database, $mysqlConnection);
}
?>
</body>
</html>