You are here: Re: Data from an array of objects (also in Dutch) « All PHP « IT news, forums, messages
Re: Data from an array of objects (also in Dutch)

Posted by Rik on 09/11/06 21:08

T. Wintershoven wrote:
> If an object contains an array of other objects, how can i read the
> data from these other objects?
> I tried this:
>
> echo $this->m_aObjectkeeper[$p_sIndex]->m_sSomeVariable;
>
> The code above runs from within the object that contains the array,
> but sadly doesn't work.

Should run fine in PHP4 & 5, a litle test scenario works perfectly here.
Probably the problem is elsewhere

Grtz,
--
Rik Wasmus

 

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

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