Error
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 'content.id = 1702 OR content.id = 1807 OR content.id = 1628 OR content.id = 1' at line 27 SQL=EXPLAIN SELECT content.id AS id, content.permalink AS alias, content.title AS title, content.intro AS text, content.created AS date, content.publish_up AS date_publish, content.hits AS hits, content.frontpage AS frontpage, content.category_id AS cid, categories.title AS catname, categories.alias AS cat_alias, users.email AS author_email, users.name AS author_username, content.created_by AS author_id, content.image AS image FROM x6rga_easyblog_post AS content LEFT JOIN x6rga_easyblog_category AS categories ON categories.id = content.category_id LEFT JOIN x6rga_users AS users ON users.id = content.created_by WHERE 1=1 content.id = 1702 OR content.id = 1807 OR content.id = 1628 OR content.id = 1797 OR content.id = 1665 OR content.id = 1799 OR content.id = 1806 OR content.id = 1754 OR content.id = 1723 ORDER BY RAND()