$link = mysql_connect(\'localhost\', $username, $password); if (!$link) { die(\'Could not connect: \' . mysql_error()); }
I get this error:
Did you give $username and $password values? Something like this?
$username
$password
$username="root"; $password="";