A Database Error Occurred

Error Number: 1064

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 'AND `type` = 'post' AND `keywords` LIKE '%%' ORDER BY `last_update` desc' at line 4

SELECT * FROM (`posts`) WHERE `id` != AND `type` = 'post' AND `keywords` LIKE '%%' ORDER BY `last_update` desc

Filename: /home/bay247/domains/bay247.vn/public_html/controllers/post_ticket.php

Line Number: 232