Reply to Re: PHP 4 compatible switchover (Help Needed)

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на 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

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