Why am I getting this Syntax error on line 3 in config.php? syntax error, unexpected '$username' (T_VARIABLE) in
This is my config.php file:
<?
$host='localhost';
$username="xxxxxxx";
$dbname="xxxxxxx";
$password="xxxxxxx";
$mysqli = new mysqli($host,$username,$password,$dbname);
if (mysqli_connect_errno()) {
printf("Connect failed: %s\n", mysqli_connect_error());
exit();
}
?>