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