I just cannot find what's wrong with this piece of code, The database table and field names is correct I just don't get it.
$query="INSERT INTO ads (name,cat,desc,posted,user,active) VALUES ('$title','$cat','$desc','$date','$name','1')";
mysql_query($query) or die(mysql_error()) ;
The output...