MySQL error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'ORDER BY m.pos, m.id' at line 3 (SELECT m.*,
IFNULL(cc.id, cb.id) AS content_id, IFNULL(cc.name, cb.name) AS name, IFNULL(cc.modified, cb.modified) AS modified,
IFNULL(cc.modified, cb.modified) AS modified FROM menu AS m LEFT JOIN content AS cc ON m.id=cc.menu_id AND cc.lang='uk' LEFT JOIN content AS cb ON m.id=cb.menu_id AND cb.lang='uk' WHERE m.id<>0 AND ORDER BY m.pos, m.id) MySQL error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'ORDER BY m.pos, m.id' at line 3 (SELECT m.*,
IFNULL(cc.id, cb.id) AS content_id, IFNULL(cc.name, cb.name) AS name, IFNULL(cc.modified, cb.modified) AS modified,
IFNULL(cc.modified, cb.modified) AS modified FROM menu AS m LEFT JOIN content AS cc ON m.id=cc.menu_id AND cc.lang='uk' LEFT JOIN content AS cb ON m.id=cb.menu_id AND cb.lang='uk' WHERE m.id<>0 AND m.pos>=0 AND m.pid<0 AND m.webname='competition' ORDER BY m.pos, m.id) www.elamigocubano.com