Re: _construct() problem

From: Date: Thu, 09 Jun 2005 19:42:01 +0000
Subject: Re: _construct() problem
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-216756@lists.php.net to get a copy of this message
Thanks, Richard It now works. It was not obvious in the book I was using. The author should have put a side note stating it is two underscores instead of one. Stéphane On Thu, 2005-06-09 at 08:42, Richard Davey wrote: > Hello Stéphane, > > Wednesday, June 8, 2005, 10:23:22 PM, you wrote: > > SB> function _construct($first, $last) { > > SB> What did I do wrong? > > It's __construct() > > Best regards, > > Richard Davey > -- > http://www.launchcode.co.uk - PHP Development Services > "I do not fear computers. I fear the lack of them." - Isaac Asimov

« previous php.general (#216756) next »