Smoking toooooo much PHP



.
Modified preorder traversal might be what you're looking for.
#1 - hrehf ( Link) on 03 Jul 2009, 19:10 Delete Comment
Modified perorder traversal
as described here - is exactly what I was trying to avoid - the queries for listing the tree with depth etc. become considerably more complex than a simple select.

http://www.sitepoint.com/article/hierarchical-data-database/2/
#2 - Alan Knowles ( Link) on 03 Jul 2009, 22:20 Delete Comment
Complexity hidden
You can put the complexity of preorder traversals into stored procedures.
#3 - Foobar ( Link) on 04 Jul 2009, 20:54 Delete Comment


Add a comment (requires javascript!)

Name
Email
Homepage
Comment Title
Comment
 
Don't bother spamming, I will just delete the comments
Contact me at alan@akbkhome.com