extending a class using includes not working
| From: | Charles Kline | Date: | Wed, 25 May 2005 18:30:14 +0000 |
| Subject: | extending a class using includes not working | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-215826@lists.php.net to get a copy of this message | ||
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