Okay, I think I can manage to make my tree from a multi-dimensional array
if I set up the array so that I can call a any arrays that meet these specifications, i think i can do this:
$cat_ids[]=array("1, 2, 3, 4");
$sub_ids[]=array("1, 2, 3, 4");
now I have to combine these arrays, so that I may be able to call them like so:
$array[2][3]=$arrayofresults;
can this be done through multi-dimensional arrays?