select * from smart_category as c where c.c_parent = and c.c_depth=2 and c.c_view ='Y' order by c.c_idx asc |
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.c_depth=2 and c.c_view ='Y' order by c.c_idx asc' at line 2 |
1064 |