MDB2 Error: syntax error, _doQuery: [Error message: Could not execute statement]
[Last executed query: SELECT entries.* ,user.username
	FROM user, entries
	WHERE 1
	AND (entries.tags LIKE '%bill and ted%' OR entries.tags LIKE '%bill and ted's excellent adventure%' OR entries.tags LIKE '%80s%' OR entries.tags LIKE '%movie costumes%' OR entries.tags LIKE '%funny costumes%')
  	AND user.id_no = entries.user_id
	AND (entries.entry_type_id = '4' OR entries.entry_type_id = '7')
  	AND entries.status_id = 1
AND entries.image_id != ''
and entries.id != 4851
GROUP BY entries.id
order by doe desc, entry_type_id ASC
limit 15;]
[Native code: 1064]
[Native message: 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 excellent adventure%' OR entries.tags LIKE '%80s%' OR entries.tags LIKE '%movi' at line 4]