Jump to content

array problem


narjis

Recommended Posts

You're asking how to build a tree from a parent / children array. This problem has been documented many times, here's a very good tutorial. try to use the non-recursive function for efficiency.

 

http://www.tommylacroix.com/2008/09/10/php-design-pattern-building-a-tree/

Link to comment
https://forums.phpfreaks.com/topic/258579-array-problem/#findComment-1325469
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.