Jump to content

N-ary trees in PHP


luis1

Recommended Posts

Tree:

 

                                        [id = 1]

                [ PID = 1, ID = 2]      [ PID = 1, ID = 3]

                [ PID = 2, ID = 4]      [ PID = 3, ID = 5]

 

This is just like any hierarchy.

 

No, I won't code it for you.

Link to comment
https://forums.phpfreaks.com/topic/242680-n-ary-trees-in-php/#findComment-1246462
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.