SELECT * FROM forumtopic ft,plaats p WHERE ft.plaats_id=p.plaats_id AND ft.adres = ''S-Gravelandseweg' AND p.plaatsslug = 'schiedam' AND ft.topic_id != 003249 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 'S-Gravelandseweg' AND p.plaatsslug = 'schiedam' AND ft.topic_id != 003249 AND ft' at line 1