> I would recommend using using a preorder tree traversal for storing
> the data.  It is a little different at first, but once you get the
> idea it is pretty slick to work with.  The main advantage is to build
> the tree structure you only need one query as opposed to a recursive
> algorithm.

This Tree thang doesn't use recursion, and only one query.

-- 
Richard Heyes

HTML5 Graphing for FF, Chrome, Opera and Safari:
http://www.phpguru.org/RGraph

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to