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='dnig978g2i3m5h6vh7fdvsocfo'' at line 4