SQL insert error
Posted: Mon Jun 11, 2007 6:40 pm
I'll tell you what, having a day job sucks. Apparently it makes me stupid at php
Is my code
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 'by, date, title) VALUES ('section', 'body', 'by', 'date', 'title')' at line 1
is my error.
Please help relieve my pain.
Code: Select all
$sql = "INSERT INTO scene (section, body, by, date, title) VALUES ('section', 'body', 'by', 'date', 'title')";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 'by, date, title) VALUES ('section', 'body', 'by', 'date', 'title')' at line 1
is my error.
Please help relieve my pain.