Re: [PHP4BETA] problem with including classes

From: Date: Tue, 06 Jul 1999 21:35:09 +0000
Subject: Re: [PHP4BETA] problem with including classes
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-1919@lists.php.net to get a copy of this message
More info on this problem. I have include_path set to: php4_value include_path .:includes:/export/httpd/php/lib:/export/httpd/php/include Then in includes I have db.inc which has: <? require("MySQL.class"); class New_SQL extends MySQL { var $host = "thel"; } ?> and then I have test.phtml which has: <? require("db.inc"); print "\n"; ?> And when I run test.phtml I get the same 'undefined parent class mysql' error. -Andrey "Later in this talk, I intend to define the universe and give three examples." -- Larry Wall

« previous php.version4 (#1919) next »