Posted by <talthen.z-serwera.o2 on 08/10/06 09:03
Foreach is not a good solution in this task. I need to delete parent of
elements with specified value.
Let's say I have an array:
[0]-->[a]-->[A]
\-> [B]
[1]-->[b]
Now I need to delete element [a] when its elements [A] and [B] have values
of, let's say, 1.
When I do foreach I cannot say what's the value of a parent or child of
current element.
Do you know how can I solve that?
Regards,
Talthen
Navigation:
[Reply to this message]
|