Hi,
Im not sure what im doing wrong. I am trying to run a query on my server which is usually fine however it is coming up with this message.
"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, username) VALUES ('4','test','test','')' at line 1"
The query is
PHP Code:
$query2 = "INSERT INTO forum_threads (subcid, title, desc, username) VALUES ('".$c."','".$title."','".$desc."','".$user."')";
Thanks in advance.
Bookmarks