Error message when updating a table. Urgent help needed!

Error updating database -
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 ‘WHERE login = ‘11111’’ at line 1

Go to the failing application, go to application section and check sql errors on. Then run the application. Scriptcase will show you every sql statement before executing. There you can see what’s wrong with the statement and what you need to do to correct.