Guy Dowd wrote:
I get this error. I belvie it is refering to this code below
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 'leave, supervisor, description) VALUES('TRY2WitterMay-16-2013', '!' at line 1
<cfif not form.company1 is "">
<cfquery username='#username#' password='#password#' datasource='#datasource#'>
INSERT INTO jobappemp(jobappid, company, busphone, empfromdate, emptodate, startwage, endwage, leave, supervisor, description)
LEAVE is a reserved word in MySQL 5.x. It wasn't on 4.x.
--
Adam