Posted by Janwillem Borleffs on 01/23/06 00:10
Jon wrote:
> In PHP4 i get an error stating that the $query= self::query line
> contains an "Undefined class name 'self'"
>
> how, in general, can I take this and make it php4 compatible?>
When the class is instantiated, simply replace "self::" with "$this->"; when
used statically, replace it with "ClassName::".
JW
[Back to original message]
|