* and then Nick Wilson declared
> Hi all,
>
> In a php class I'm using I do this:
>
> require_once('db/settings.inc'); // just hold db properties
Ooops, sorry everyone. Just noticed that one of the classes does *not*
use require_once() but require() -- and therein lies the problem ;-)
--
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 th
2 matches
Mail list logo