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='ldo42u6l5d5dj7ij7bso1emie1'' at line 1