Error in: select c.id, cc.title , cc.title, cc.pg, cc.content, c.file, c.pages_id, c.dfrom from pages_item c, pages_item_content cc where cc.pages_item_id = c.id and cc.lg=1 and c.status=1 and c.pages_id In (18) and year(c.dfrom)=Natural-formula--osnovni-printsipi Order by c.dfrom desc , c.dtime desc
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 'Natural-formula--osnovni-printsipi Order by c.dfrom desc , c.dtime desc' at line 3