Hi...
I'm using ADOdb for an application and writing a series of functions
that are split across many .php files to be included as needed.
If a single .php file has the following:
function x
{
}
function y
{
}
function z
{
}
I believe that if I want to use the ADOdb library, I would need to
include/require (once?) in EACH function individually.
1. Is the above statement correct?
2. If so, is include/require_once the preferred method?
3. Is there a way that I can globally refer to ADOdb without having an
include in each function?
Thanks
Joe
I'm using ADOdb for an application and writing a series of functions
that are split across many .php files to be included as needed.
If a single .php file has the following:
function x
{
}
function y
{
}
function z
{
}
I believe that if I want to use the ADOdb library, I would need to
include/require (once?) in EACH function individually.
1. Is the above statement correct?
2. If so, is include/require_once the preferred method?
3. Is there a way that I can globally refer to ADOdb without having an
include in each function?
Thanks
Joe
Comment