SELECT program.*, REPLACE(program.i_genre, ' ', '') AS genre, page_hits.match_count FROM ( SELECT id, COUNT(*) OVER () AS match_count FROM g5_pixeldrain_program WHERE ((MATCH(title, i_overview, i_genre) AGAINST('+NGR* +-* +나가사레* +-*' IN BOOLEAN MODE))OR (MATCH(title, i_overview, i_genre) AGAINST('NGR - 나가사레 -' IN BOOLEAN MODE))OR INSTR(REPLACE(i_genre, ' ', ''), 'NGR - 나가사레 -')) ORDER BY created_at DESC, id DESC LIMIT 0, 12 ) AS page_hits JOIN g5_pixeldrain_program AS program ON program.id = page_hits.id ORDER BY program.created_at DESC, program.id DESC

1064 : syntax error, unexpected '-'

error file : /missav/search.php