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 'AND sessie_id='5b6pdb9or1gdub2ml77b5u8npk'' at line 4