You are here: Re: $parts = $struct->parts; « PHP Programming Language « IT news, forums, messages
Re: $parts = $struct->parts;

Posted by bill on 06/15/07 18:23

Jeff North wrote:
> On Wed, 13 Jun 2007 21:19:05 -0400, in comp.lang.php bill
> <nobody@spamcop.net>
> <JO2dnb2lgosJCu3bnZ2dnUVZ_qCmnZ2d@cablespeedmi.com> wrote:
>
>> | Turning on error_reporting(E_ALL); was quite an eye opener as to
>> | how much "fixing" PHP will do for the sloppy coder.
>> |
>> | I fixed all of the errors except:
>> | Notice: Undefined property: parts in
>> | /ContactManagement/contact_mainpage.php on line 120
>> |
>> | where the line in question is:
>> | $parts = $struct->parts;
>> |
>> | where $struct = = imap_fetchstructure($in, $mid);
> ^^^^^
> Is that a typo or actual code. If code it might be the source of the
> problem.
>
>> | $struct is an object, parts is an array of objects
>> |
>> | what would the correct syntax of the statement be ?
>> |
>> | bill
> ---------------------------------------------------------------
> jnorthau@yourpantsyahoo.com.au : Remove your pants to reply
> ---------------------------------------------------------------

typo

 

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

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