On Jun 30, 2006, at 12:05 AM, Larry Garfield wrote:
I've written such a system before more than once. You do the sorting in SQL, and then traverse the data recursively in PHP to build the tree. It's a single SQL query. Check the archives for this list for about 3-4 weeks ago,I think. We were just discussing it, and I showed some basic code examples. :-) -- Larry Garfield AIM: LOLG42 larry@xxxxxxxxxxxxxxxx ICQ: 6817012
Did you mean this thread, Larry? --> http://news.php.net/php.general/238478 (on menus and submenu generation)Seems pretty identical to what I'm trying to do. Thanks and disregard my previous post if this is so.
- Ben
Attachment:
smime.p7s
Description: S/MIME cryptographic signature