SELECT *
FROM `games`
WHERE `active`='Yes' && (`name` LIKE '%barbie\'s%' or `name` LIKE '%barbie\'s%') order by `time` DESCYou 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 `name` LIKE 'ºrbie's%') order by `time` DESC' at line 3