You are here: Re: Adding a custom object to an array « PHP Programming Language « IT news, forums, messages
Re: Adding a custom object to an array

Posted by Areric on 05/08/06 00:30

Rik

THanks for the help you were right the problem was elsewhere. For some
reason my mImageCount wasnt getting initalized properly. So when i
added my first image it was adding it to a index with no value, where
when i tried to reference it i was referencing index 0. The weird thing
was i had the mImageCount = 0 in the constructor.

Oh well i fixed it by initalizing the variable where it was declared
instead of the constructor.

 

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

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