MySQL: Calculate depth in a parent-child model?
Posted
by Ivarska
on Stack Overflow
See other posts from Stack Overflow
or by Ivarska
Published on 2009-07-28T18:27:41Z
Indexed on
2010/04/03
13:03 UTC
Read the original article
Hit count: 271
As title says: How do I calculate a node's depth in a parent-child model? I'll need the depth to, among other things, create the indent in my list (coded with PHP).
Thank you in advance.
© Stack Overflow or respective owner