You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'WHERE sessionID='2d8fe42de2f833581faa077f788329fa'' at line 1 UPDATE CF_session SET username='', userid=0, userstatus=1, time=1781084788, typelieu='TOP', forumid=17, topicid= WHERE sessionID='2d8fe42de2f833581faa077f788329fa'