I have used the code below on another webpage I created that links to another database with no problems. I have a new page with a new database. I am 99% sure I added the user correctly to the new database with all the correct permissions (I even selected all permissions just in case). I deleted the user and re-added, confirming that I am typing the password correctly.
I get an error saying I am not sending a password, but in the code below, I am sending a password. Help!!
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'uniqueda_ed'@'localhost' (using password: NO) in /home/uniqueda/public_html
fig.php on line 22
$db_host = "localhost";
$db_name = "dbnameHere";
$db_user = "userNameHere";
$db_word = "passwordHere";
if (!$db_connection = mysql_connect("$db_host", "$db_user", "$db_word"))