Re: Re: MySQL/PHP Iterative Tree
| From: | Adam Voigt | Date: | Tue, 26 Nov 2002 16:15:14 +0000 |
| Subject: | Re: Re: MySQL/PHP Iterative Tree | ||
| References: | 1 2 3 4 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-23675@lists.php.net to get a copy of this message | ||
A coworker suggested I just write either the array or the actual menu
itself (in a .js file) at the time of category/subcategory creation and
just include it on the page with the menu, which I suppose is what I
must do since most other on-the-fly solutions seem fairly complicated
and can get exponentially resource intensive. Thanks for your help.
On Tue, 2002-11-26 at 11:07, David Elliott wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hello 1LT
>
> On 26 November 2002 at 09:54:57 -0500 (which was 14:54 where I live) 1LT
> John W. Holmes emanated these words of wisdom
>
> > You may want to check out using Nested Sets instead of a Parent-Child-ID
> > system.
>
> This is OK for some simple trees, however it does have some limitations.
>
> (1) Adding another tree / series of nodes into the middle if the set.
>
> (2) A child node that belongs to more than one parent.
>
> - --
> Cheers, _______________________________________________
> David | David Elliott | Software Engineer |
> _________________________| david@elliott.uk.com | PGP Key ID 0x650F4534 |
> | Mathematicians DO IT with sum. |
>
> -----BEGIN PGP SIGNATURE-----
> Version: 6.5.8ckt http://www.ipgpp.com/
>
> iQA/AwUBPeOcYPmK8eZlD0U0EQJRVACfXZGjwwUlKOV1yEvtEf96D0MdNakAnAuF
> PBlwh2HSenDKSVvldLp8H3fb
> =QE8q
> -----END PGP SIGNATURE-----
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--
Adam Voigt (adam@cryptocomm.com)
The Cryptocomm Group
My GPG Key: http://64.238.252.49:8080/adam_at_cryptocomm.asc
Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc
Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc