by company · 12y ago · 0 comments
http://stackoverflow.com/questions/3362038/what-is-self-join... this might help.
Using hierarchy and recursivity like this: http://stackoverflow.com/questions/4216875/php-reorder-array...
see if that helps