SyntaxFix
Write A Post
Hire A Developer
Questions
You can use mysqli_connect($mysql_hostname , $mysql_username) instead of mysql_connect($mysql_hostname , $mysql_username).
mysqli_connect($mysql_hostname , $mysql_username)
mysql_connect($mysql_hostname , $mysql_username)
mysql_* functions were removed as of PHP 7. You now have two alternatives: MySQLi and PDO.
mysql_*