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 '%Pinda's%' OR
keywords LIKE '%Pinda's%' OR
producent LIKE ' 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 '%Pinda's%' OR
category LIKE '%Pinda's%' OR
keywords LIKE '%Pinda's%' OR
producent LIKE '%Pinda's%' OR
naam LIKE '%Pinda's%' OR
type LIKE '%Pinda's%' OR
kleur LIKE '%Pinda's%' OR
land2 LIKE '%Pinda's%' OR
streek LIKE '%Pinda's%' OR
ingredienten LIKE '%Pinda's%') 
AND category	=	'borrelhapjes'
AND code NOT LIKE '%0%'
 AND code NOT LIKE '%3%'
ORDER BY substr(naam,1,7),percentage,prijs