Get all child category under a category

## get all childs & their childs under a parent category //get all childs & their childs public function get_child_categories( $parent_id ){ $childtree = $this->nowbuild_child_tree($parent_id); echo “<pre>”; print_r($childtree); echo “</pre>”; } //now build all child tree against parent id public function nowbuild_child_tree( $parent_id ) { $sqlquery = ” SELECT * FROM categories where parent='” .$parent_id … Read moreGet all child category under a category