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