I have a file called functions.php
this file contain many functions like the following
function name(){
.......
}
function name2($arg){
.......
}
function name3($par, $par2){
.......
}
Etc.
That file is not a class, but contain many functions in one place.
My questions
- Where can I place this file to use it from any view file or controller file like a global file.
- Then, how to include any function from functions.php file at any view or controller file .