Hello Experts,
I am having an issue with my relative file paths. I am using a MacBook Pro, if that has any bearing, in case Mac's file paths are different than Windows.
Anyway, my root folder contains my index.php. I have no issues relating my index.php to any of the sub-folders/sub-files. However, when I want to relate a sub-file in one sub-folder to another sub-file in a different sub-folder, I seem to run into issues. I don't understand how to "back out" of one sub-folder and then access a different sub-folder.
See the image:

So, if I have a file in "PHP SUB-FOLDER 'B'" and I would like to link it to a file in the "FPDF FOLDER", would I do so like this:
../../fpdffolder/insert-the-file-name-and-extension-here
I have to back out two levels from "PHP SUB-FOLDER 'B'" in order to then access the fpdf folder, right?
What if I was in "PHP SUB-FOLDER 'B'" and wanted to access "PHP SUB-FOLDER 'A'". Would I do this?
../PHP SUB-FOLDER A/insert-the-file-name-and-extension-here
../../../fpdffolder/insert-the-file-name-and-extension-here
For your 2nd part: No. You need to remove the subfolder name as you are already there.
../insert-the-file-name-and-extension-here