Can't find the error :s [SQL]

Junior Spellweaver
Joined
Nov 30, 2010
Messages
141
Reaction score
16
Keep getting this error:

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'desc, tags)VALUES('1','towel','08-22-13-11-09-2','New Title','Posts Content.','m' at line 1

My Query:

PHP:
$query = mysqli_query($con, "INSERT INTO posts (category_id, author, date, title, content, image_url, desc, tags)VALUES('$category_id','$author','$date','$title','$content','$image','$desc','$tags')");

That query has to be right, but which part of my insert is screwing up the query?
 
Back