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




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

Reply via email to