anyone know whats wrong with this I get an error. on the last line. If I take it away I get an error on the 2nd to last.
I have an include config.php so I know it connects.
mysql_connect($host,$user,$pass) or die(mysql_error());
mysql_select_db($db) or die(mysql_error());
$add_all = "INSERT INTO $table VALUES('$uname','$ucomment','$ip','$time','','$imagecat')";
mysql_query($add_all) or die(mysql_error());