Hi
Could someone explain me the difference between 'include()' and 'include_once()'?
Why would someone choose to use 'include()' over 'include_once()'?
thanks in advance
The include_once() statement includes and evaluates the specified file during the execution of the script. This is a behavior similar to the include() statement, with the only difference being that if the code from a file has already been included, it will not be included again. As the name suggests, it will be included just once.
http://www.php.net/include_once