Posts by Leo • 1 point
1 post
-
0
votes1
answer46
viewsQ: Add value of Childrens nodes to value of parents in array recursively
Good afternoon. I have the following array structure below, how to sum the values of node_value from children to values node_value of parents, recursively? Array ( [0] => Array ( [node_id] =>…