I\'m trying to loop through one array, adding a new level to another array each time. Let me illustrate - variable $arr\'s values are different each time
$ar
I may be wrong, but I think you are asking the same as this question: Multidimensional Arrays Nested to Unlimited Depth