class query
| From: | Nick Wilson | Date: | Wed, 20 Nov 2002 13:49:53 +0000 |
| Subject: | class query | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-125226@lists.php.net to get a copy of this message | ||
Hi all,
In a php class I'm using I do this:
require_once('db/settings.inc'); // just hold db properties
class blah {
etc....
But, I have 3 classes that all start the same way that I need to require
on a page and I'm getting "cannot redeclare class 'settings'".....
How can I solve this please? I thought what I was doing was fairly
sensible but....
--
Nick Wilson // www.tioka.com