I have a folder structure like this
- lots of folders
- another subfolder
- _includes
- getStatisticsTable.php
- _templates
- StatisticsWrapper.html
- _includes
- another subfolder
In StatisticsWrapper.html
I'm using jQuery's .get()
function to get some external data that should be made using getStatisticsTable.php
but when I use the relative path:
"../_includes/getStatisticsTable.php
" it doesn't work.
My guess was that it's not working because the file StatisticsWrapper.html
is being included by another file in a lower folder, so I tried making the path relative to that folder but it's not working.
From where should I search for the getStatisticsTable.php
? Is there an easy way to find out where the file is searching from?