sql is SELECT id, `key`, title FROM ccw_content WHERE hide_nav=0 and parentid= and status='A' ORDER BY sequence DESC
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 status='A' ORDER BY sequence DESC' at line 1