Eric Butera wrote:
I cheat and just keep the normal parentId column and regenerate the
tree based on changes on that. I had spent a little bit looking at
the different update/delete methods and there wasn't a lot of good
information/examples as you've stated. I had found some but there
were always edge cases that busted them.
Just found this;
http://en.wikipedia.org/wiki/AVL_tree
interesting read so far, havent found any opensource classes that
implement it yet, am tempted to write one ;)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php