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 's%' OR
category LIKE '%Fuller's%' OR
keywords LIKE '%Fuller's%' OR
producent LIK' at line 3
in query: $sqlSELECT * FROM bier WHERE
id > 0
AND ( announce LIKE '%Fuller's%' OR
category LIKE '%Fuller's%' OR
keywords LIKE '%Fuller's%' OR
producent LIKE '%Fuller's%' OR
naam LIKE '%Fuller's%' OR
type LIKE '%Fuller's%' OR
kleur LIKE '%Fuller's%' OR
land2 LIKE '%Fuller's%' OR
streek LIKE '%Fuller's%' OR
ingredienten LIKE '%Fuller's%') AND ( announce LIKE '%India%' OR
category LIKE '%India%' OR
keywords LIKE '%India%' OR
producent LIKE '%India%' OR
naam LIKE '%India%' OR
type LIKE '%India%' OR
kleur LIKE '%India%' OR
land2 LIKE '%India%' OR
streek LIKE '%India%' OR
ingredienten LIKE '%India%') AND ( announce LIKE '%Pale%' OR
category LIKE '%Pale%' OR
keywords LIKE '%Pale%' OR
producent LIKE '%Pale%' OR
naam LIKE '%Pale%' OR
type LIKE '%Pale%' OR
kleur LIKE '%Pale%' OR
land2 LIKE '%Pale%' OR
streek LIKE '%Pale%' OR
ingredienten LIKE '%Pale%') AND ( announce LIKE '%Ale%' OR
category LIKE '%Ale%' OR
keywords LIKE '%Ale%' OR
producent LIKE '%Ale%' OR
naam LIKE '%Ale%' OR
type LIKE '%Ale%' OR
kleur LIKE '%Ale%' OR
land2 LIKE '%Ale%' OR
streek LIKE '%Ale%' OR
ingredienten LIKE '%Ale%') 
AND category	=	'bier'
AND code NOT LIKE '%0%'
 AND code NOT LIKE '%3%'
ORDER BY substr(naam,1,7),percentage,prijs