Re: Reuse MySQL prepared statement

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux