Mi ster gugol in azioneeeeeeeeeeeeee!!!!
http://www.google.it/search?q=mysql+error+1064&start=0&ie=utf-8&hl=it&oe=utf-8&client=firefox-a&rls=org.mozilla:it-IT:official
http://www.modwest.com/help/kb6-265.html
Why do i get a query syntax error 1064 from MySQL when the syntax seems correct?
You will get a MySQL query syntax error number 1064 when you incorrectly use a reserved word in your query such as "when" or "order".
Usare Google fa sempre bene! E fare una ricerca non fa mai male!
Praticamente la query contiene delle parole riservate: correggi le queries!