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 sessionID='c0a9e7c5f8bdeb5221abe91fe7fc2e66'' at line 1 UPDATE CF_session SET username='', userid=0, userstatus=1, time=1283897353, typelieu='TOP', forumid=17, topicid= WHERE sessionID='c0a9e7c5f8bdeb5221abe91fe7fc2e66'