imagen old and nice grandpa he got 5 sons and 4 daughters
every one of the sons got 5 sons
and every one of the daughters got 2 sons and 2 daygters
that means the granpa got 16+25=41 grandchildren...
=>on the 1(first) level he got 9people
=>on the 2(second) level he got 41people
and may be some of the children got sons or daughters too...in that case he will got a 3(third) level too...
in my asp files, there are no replay of names=every body got his original name wich no one esle have.
i enter to the database :
"first name" "fathers name"
i need to build some circulation function that counts how much levels granpa have and how much people he got on every level.
someone wrote/saw something like this before?
any help will help right now