Hello mikegachunji, Thank you for contacting us about a syntax error in SQL. Here is a link to our guide on MySQL Error 1064: You have an error in your SQL syntax, I recommend checking there to see if you see any similar issues. As a test, try to echo out the entire query it is trying to enter into the database. We are happy to help you troubleshoot, but will need some additional information. Can you provide the full syntax error? For example, it will usually provide a "line near" message, to give you a clue where it is failing. Let us know if you have any further questions. Thank you, John-Paul