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 'WHERE slug='Artikel De SlagerNR4april 2013.pdf'' at line 1SELECT * FROM WHERE slug='Artikel De SlagerNR4april 2013.pdf'