select * from gdc_cat_producten,gdc_cat_niveaus where nivId=gdc_cat_producten.parent and proAuteur='Paul de Pessemier 's Gravendries'
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 Gravendries'' at line 1