I do not use a password for my database, which works fine with SELECT-queries, but not with INSERT-queries as I get this error when I try to insert data through a script.
I use the latest version of Wamp and need a solution to this ASAP (preferably yesterday

)
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: YES) in C:\wamp\www\directory\insert_db.php on line 2
Could not connect: Access denied for user 'root'@'localhost' (using password: YES)
This is a sample of my INSERT-code:
<?php
$con = mysql_connect("localhost","root","hmhm"

;
if (!$con)
{
die('Could not connect: ' . mysql_error());
}mysql_select_db("autoliv", $con);
$sql="INSERT INTO author
(au_id,au_lname, au_fname, affiliate)
VALUES
('$_POST[au_id]','$_POST[au_lname]','$_POST[au_fname]' '$_POST[affiliate]')";