file : /var/www/vhosts/depaas.nl/httpdocs/assort/index.php
regel: 178
fout : 1064: 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 'Arignac%' OR
category LIKE '%d'Arignac%' OR
keywords LIKE '%d'Arignac%' OR
produ' at line 12
in query: $sqlSELECT * FROM bier WHERE
id > 0
AND ( announce LIKE '%Prince%' OR
category LIKE '%Prince%' OR
keywords LIKE '%Prince%' OR
producent LIKE '%Prince%' OR
naam LIKE '%Prince%' OR
type LIKE '%Prince%' OR
kleur LIKE '%Prince%' OR
land2 LIKE '%Prince%' OR
streek LIKE '%Prince%' OR
ingredienten LIKE '%Prince%') AND ( announce LIKE '%d'Arignac%' OR
category LIKE '%d'Arignac%' OR
keywords LIKE '%d'Arignac%' OR
producent LIKE '%d'Arignac%' OR
naam LIKE '%d'Arignac%' OR
type LIKE '%d'Arignac%' OR
kleur LIKE '%d'Arignac%' OR
land2 LIKE '%d'Arignac%' OR
streek LIKE '%d'Arignac%' OR
ingredienten LIKE '%d'Arignac%') AND ( announce LIKE '%XO%' OR
category LIKE '%XO%' OR
keywords LIKE '%XO%' OR
producent LIKE '%XO%' OR
naam LIKE '%XO%' OR
type LIKE '%XO%' OR
kleur LIKE '%XO%' OR
land2 LIKE '%XO%' OR
streek LIKE '%XO%' OR
ingredienten LIKE '%XO%') 
AND category	=	'digestief'
AND code NOT LIKE '%0%'
 AND code NOT LIKE '%3%'
ORDER BY substr(naam,1,7),percentage,prijs