This PHP script transforms flat arrays into multidimensional arrays.
It can recursively traverses bidimensional arrays of associative arrays and look at each entry for the a given indexes that contains the parent and child entry identifiers.
Nested arrays can be built based on parent-child relationships.
- PHP 5.0 or Higher
More popular Data Type
- 1.8 KB
- 03/05/2011 09:51:38