Hey havnt posted here in a while I quit php for a while and now i can't seem to get my groove back.
I have this insert query:
$sql = "INSERT INTO file (id, name, desc, views, pname) VALUES(' ','$filename','temp','0','$logged')";
mysql_query($sql) or die(mysql_error());
I can't figure out why it won't work 🙁
The error I am getting is:
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, views, pname) VALUES(' ','df','temp','0','Ahren')' at line