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 ' and category_visible = 1 and cp_show=1' at line 1

select c.category_id, c.category_name, c.category_description3, c.category_image3, c.category_code, ck.page_filename, ck.category_url from eCategories c left join eCategoryKeywords ck using(category_id) where category_id =  and category_visible = 1 and cp_show=1