Your above query contains reserved words in it those are causing error 1064 (42000). ORDER is a reserved word in MySQL and in standard SQL as well. If the column name in the table is ORDER, then put backquotes (`) around the word ORDER when using it as a column name. For Example:

INSERT INTO sections (`order`,edit,remove,section,type) 
            VALUES('blah','blah','blah','blah','blah');

Best practice: Don't use reserved words for object (table, column,) or to use backquotes beside every column you used like:

INSERT INTO sections (`order`,`edit`,`remove`,`section`,`type`) 
            VALUES('blah','blah','blah','blah','blah');

Posted in: MySQL

Related FAQ's

Marius Ion ANGEL HOT SOFT LLC (800) 316-7677