$sql = mysql_query("INSERT INTO d_files (name, desc, url, ss, author, cid, sid) VALUES ('$name', '$desc', '$url', '$ss', '$author', '$cid', '$sid')") or die(mysql_error());
Ok, I am using that to add to database.. but I 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, url, ss, author, cid, sid) VALUES ('test', ' test', 'test
Note that 'test', 'test', 'test is what i entered for each one of those.. I put test in all fields.
What is going wrong?!!?!? Never had this problem before.