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 c.categories_id = cd.categories_id AND cd.language_id=1 ' at line 3

SELECT c.categories_id, cd.categories_name, c.parent_id FROM categories c, categories_description cd WHERE c.parent_id = AND c.categories_id = cd.categories_id AND cd.language_id=1 ORDER BY sort_order, cd.categories_name

[TEP STOP]