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 ses_id='50l9s765c3gps2am2vpu48q9g5'' at line 1