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.sort_order<0 AND cd.`language_id`=1 ORDER BY c.`sort_order`,cd.`categories' at line 4

SELECT c.categories_id, c.parent_id, cd.`categories_name` FROM `categories` c LEFT JOIN `categories_description` cd ON cd.`categories_id`=c.`categories_id` WHERE c.`parent_id`= AND c.sort_order<0 AND cd.`language_id`=1 ORDER BY c.`sort_order`,cd.`categories_name`

[TEP STOP]