Categories
Development PHP

Get with PHP Array Tree Values Recursively with start and stop limit level

I am making a module for creating navigation menus and I would like to give the possibility to set an initial and final level. I have this array tree with level how can return it setting a start level and stop level ? this is my function that return empty. Original Array: Array ( [0] […]