Could not run query: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND pagina.is_product = 1
LIMIT 1' at line 6
Whole Query:SELECT pagina.Id, pagina.titel, pagina.afbeelding, producten.prijs, producten.subtitel, producten.prijs2, producten.option1 as color, producten.related3, producten.is_nieuw
FROM pagina
INNER JOIN producten
ON pagina.product_id = producten.id
WHERE pagina.product_id =
AND pagina.is_product = 1
LIMIT 1
