SELECT * FROM forumtopic ft,plaats p WHERE ft.plaats_id=p.plaats_id AND ft.adres = ''t Deel' AND p.plaatsslug = 'drachten' AND ft.topic_id != 005902 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 Deel' AND p.plaatsslug = 'drachten' AND ft.topic_id != 005902 AND ft.gepublice' at line 1