A Database Error Occurred
Error Number: 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 '' at line 1
SELECT count(c_child.id) as child_cat FROM categories c_parent left join categories c_child on c_parent.id = c_child.parrent_id where c_parent.id =
Filename: models/Categorymodel.php
Line Number: 165