I have been spending hours trying to figure out what im doing wrong.
I have one of my pages calling an "include" file.
the file is matrix.php....the relative path of that page is: root/moviepages/matrix/matrix.php
and my include file i want to call is: root/includes/navbar.php.
so in my matrix.php file i put <?php include ('../../includes.navbar.php');?>
This does not work and i dont know why.
The supporting javascript files and css styles are buried in the folder structure with no problem that link to the include file.
The only way this will work if i move the "navbar.php" file into the same directory as the matrix.php file. and change my code to: <?php include('navbar.php');?>
Cant i have my include file anywhere as I long i direct my file thats calling it to where it is.
Any help would be appreciated.