phpu <mailto:[EMAIL PROTECTED]>
    on Saturday, September 20, 2003 7:41 AM said:

> I have been trying to do this for weeks but i just cant figure this
> out. I have categories that have subcategories and i want to insert
> them into database.

If you need more than two levels of classification I would suggest you
use a method called Modified Preorder Tree Traversal. You can read about
it here. http://www.sitepoint.com/article/1105

It's a little complicated at first but once you grasp the idea it starts
to make a lot of sense.


Hope this helps.
Chris.

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

Reply via email to