SELECT * FROM forumtopic ft,plaats p WHERE ft.plaats_id=p.plaats_id AND ft.adres = ''t Hou' AND p.plaatsslug = 'langezwaag' AND ft.topic_id != 003867 AND ft.gepubliceerd=1 ORDER BY ft.time_start DESC LIMIT 9
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 't Hou' AND p.plaatsslug = 'langezwaag' AND ft.topic_id != 003867 AND ft.gepublic' at line 1