Well I have a function where I need to load an include file into the function. Like this:
function Query($conexao, $query) {
// Includes
include "../Dados.php";
}
The problem is that in some files in which I call the function it does not find the data file. This is because some files are inside some folders. Is there any way to do the include fetch the data file in the root of the site? That is regardless of where I call the function it goes in the root and looks for the file.