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 ‘حياة كريمة”%” OR a.metakey LIKE “%وزير الإسكان%” OR a.metake’ at line 4
SELECT `a`.*, `c`.`title` as category, `c`.`alias` as cat_alias
FROM (`articles` as a)
LEFT JOIN `categories` as c ON `a`.`catid` = `c`.`id`
WHERE (a.metakey LIKE “%توريد وتوفير المهمات والمستلزمات%” OR a.metakey LIKE “%المبادرة الرئاسية “حياة كريمة”%” OR a.metakey LIKE “%وزير الإسكان%” OR a.metakey LIKE “%وزير الإسكان والمرافق والمجتمعات العمرانية%” OR a.metakey LIKE “%عاصم الجزار%”)
AND `a`.`id` NOT IN (‘3455197’)
AND `a`.`id` = (select max(dd.id) from articles dd ) – 10000
ORDER BY `a`.`created` desc
LIMIT 6
Filename: /home/wafd/public_html/models/article_model.php
Line Number: 228
[ad_1]