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 '´nee´
AND aanval.tgs = '-16-'' at line 6
iemand enig id wat er fout is aan 'nee'?
Dit is de code
SELECT
count(*) as aangevallen
FROM
aanval
HAVING
aanval.gezien = ´nee´
AND aanval.tgs = '-16-'