Reply to Re: unexpected T_STRING, expecting T_VARIABLE

Your name:

Reply:


Posted by Rik on 07/30/07 22:23

On Tue, 31 Jul 2007 00:18:15 +0200, Rik <luiheidsgoeroe@hotmail.com> wrote:

> On Tue, 31 Jul 2007 00:12:38 +0200, Jeff
> <it_consultant1@hotmail.com.NOSPAM> wrote:
>
>> thanks,
>>
>> BTW why isn't any text displayed on the page (it only displays
>> ******************)? is echo allowed in constructor?


Ooh, scratch my previous anser. Fact is, you have another problem: the
'magic' funcion is __construct(), not __constructor(). It is legal as a
function name (allthough avoid naming function starting with __, it might
get some 'magic' functionality in future), so those function simply didn't
get called on object creation.
--
Rik Wasmus

[Back to original 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

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