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 '' at line 4SQL: SELECT c.id, c.parent_id, cl.title, cl.description, cl.keywords, cl.metatitle, cl.h1, cl.short FROM category AS c, category_lang AS cl WHERE c.id = cl.category_id AND cl.lang_id = 1 AND c.id =