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