MySQL: Calculate depth in a parent-child model?
- by Ivarska
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.