Posted by Nu on 02/01/07 08:29
"Sanders Kaufman" <bucky@kaufman.net> wrote in message
news:8vhwh.2294$4H1.1364@newssvr17.news.prodigy.net...
> Nu wrote:
> > "Sanders Kaufman" <bucky@kaufman.net> wrote in message
>
> >> In the above example - BOTH files will be included no matter what.
> >
> > Okay, but both files have include/requires. Will their include/requires
be
> > included, too?
>
> Yeah - that's why the require_once/include_once is useful.
What if I put the "require_once" in an if statement and put the file to
require in a variable?
Navigation:
[Reply to this message]
|