$dbh = mysql_connect ("localhost", "teamae_mike", "pass") or die ('I cannot connect to the database because: ' . mysql_error());
mysql_select_db("teamae_negdb");
mysql_query("INSERT INTO news (user, cont, date, title) VALUES ('$user', '$cont', '$date', '$title')") or die(mysql_error());
for some reason, my script inserts two rows when i run it. ( the second row is full of blank values ).
Has anyone ever encountered an error like this before? I have looked at my code over and over and I cant figure out why its doing that.