Hey everybody,
i´m becoming desperate about the following problem.
We´ve an online-community / network.
There´s a network table ( sql create below ), in which we store the
relationships between the member.
I need a SQL-statement or a PHP-Function to calculate the 2nd, 3rd and
4th degrees
I use something like this in my e-commerce for degrees of my category of
products. I think it´s the same thing you want.
I get everything to an array and then use it to work.
By this follow function, i get all options for my select field, it´s all in
portuguese but i think it can help you.