Recursion through heirarchical table structures...

Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.

Moderator: General Moderators

Locked
eppievojt
Forum Newbie
Posts: 4
Joined: Sat Oct 29, 2005 6:03 pm

Recursion through heirarchical table structures...

Post by eppievojt »

It is my understanding that recursive functions have been removed from the newer versions of PHP - has this impacted your ability to effectively utilize heirarchical table structures? I'm curious how others have approached this, as I am currently working on a way to to pull ALL "related" items (children and levels below) - not for the purpose of simply listing them out, but for utilization in future SQL searches.

If there is an easy solution (recursive function that still does exist), I'd love to know, because my hours spent searching the net have revealed nothing that is functional.
User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

Post by pickle »

Don't double post.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Original thread:
viewtopic.php?p=212365
Locked