You are here: extending a class using includes not working « PHP « IT news, forums, messages
extending a class using includes not working

Posted by Charles Kline on 05/25/05 21:30

hi all.

i have 2 class files. say for example.

class 1

class 2 extends class 1

class 2 uses include_once("firstclass.php")

then i use include_once ("secondclass.php") in my template. this does
not work. to get it to work, i must put both the files as includes in
my template.
any ideas why?

thanks,
charles

 

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

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