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 neck' OR `keyword2` LIKE 'slave's neck' OR `keyword3` LIKE 'slave's neck' OR `' at line 1 - SELECT * FROM `sab_posts` WHERE `datetime` < NOW() AND ( `keyword1` LIKE 'slave's neck' OR `keyword2` LIKE 'slave's neck' OR `keyword3` LIKE 'slave's neck' OR `keyword4` LIKE 'slave's neck' OR `keyword5` LIKE 'slave's neck' OR `keyword6` LIKE 'slave's neck' OR `keyword7` LIKE 'slave's neck' OR `keyword8` LIKE 'slave's neck' OR `keyword9` LIKE 'slave's neck' OR `keyword10` LIKE 'slave's neck' ) ORDER BY `datetime` DESC LIMIT 0 , 10