How can we make a single dimension array to multidimensional Hierarchical ?
- by Chetan sharma
I have an single array of Hierarchical categories. Index of the array is the category_id like::
[8846] => Array
(
[category_id] => 8846
[title] => Tsting two
[description] => Tsting two
[subtype] => categories
[type] => object
[level] => 2
[parent_category] => 8841…