I have an include 'functions.php' which holds things such as connection details and various custom functions.
It works perfectly with every page but i just created a new page in a new dir, adjusted the include link accordingly, and the page is correctly included.
BUT, when using any of the functions from the include it breaks the page.
include '../../../functions.php'
Is this an acceptable way of linking to a a functions include? Is this why its broken? I normally use this method of linking and never had an issue, but today its not worked and has really rather puzzled me.
It works perfectly until i attempt to call any of the functions within the functions include.
example of a simple function that breaks the page
function functionsTest() {
echo "functions.php Included Correctly! ";
}
The functions page works perfectly across the rest of the site, and has only broken on this newly created page.
Any advice appreciated here thanks