extending a class using includes not working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux