[PHPTAL] FAQ - recursive array tree

Urša Baričević ubaric at gmail.com
Wed Apr 15 13:16:53 CEST 2009


Hello,

I have structure like this:
array(
    'gallery',
    'gallery/category,
    'gallery/category/subcategory1',
    'gallery/category/subcategory2',
    'gallery/category2/subcategory1',
    ....
);

How to convert this structure to recursive array described in FAQ?

best wishes,
Urša Baričević



More information about the PHPTAL mailing list