First of all, I'm not quite sure how to explain this, so please pay attention to me.
My research led me to believe that it could be an absolute URL / relative URL . But please, I'm not sure. So this is not a reason to give me a minus, since I just reached 50, and I am on the STEEP learning curve.
In my index.php
I have a reference to a csv array. /array/test.csv
Then I have a folder named MENU . In this folder, I have PHP called menu.php, which should also reference test.csv. However, I can not put /array/test.csv , instead I need to put ../array/test.csv .
So, depending on where you are in the folder structure, you may need to use / or ../ or ../../ ,
Can someone point out the right way to do this, as I know that I will have a problem if I don't find out the right way.
source share