Error : 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 = 1 ORDER BY rank' at line 1
SELECT * FROM site_structure WHERE parent_id = AND status = 1 ORDER BY rank
SELECT * FROM site_structure WHERE parent_id = AND status = 1 ORDER BY rank
