hi guys
i think im lost on how to generate array (multi dimensional) into tree construct
here is a sample array
Array
(
[0] => Array
(
[NextPagePath] => /yhteydenottolomakkeen/
[PreviousPath] => /caset/
[TimeOnpage] => 3
)
[1] => Array
(
[NextPagePath] => /
[PreviousPath] => /
[TimeOnpage] => 9
)
[2] => Array
(
[NextPagePath] => /caset/
[PreviousPath] => /
[TimeOnpage] => 9
)
[3] => Array
(
[NextPagePath] => /
[PreviousPath] => (entrance)
[TimeOnpage] => 9
)
now when this array converted into tree it should look like
+(entrance) or "/"
- caset
* yhteydenottolomakkeen
- /
how would i do this one
your help is highly appreciated
Tnx