Quantcast
Viewing all articles
Browse latest Browse all 21760

Re: Error NEED HELP ASAP!!

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


Viewing all articles
Browse latest Browse all 21760

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>