You are here: Re: How to iterate throut an array? « PHP Programming Language « IT news, forums, messages
Re: How to iterate throut an array?

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация