ok, here's what i've got:
a big website with files in all kinds of folders, up to five levels deep.
i've got a variable, $thing, in an include file in each folder, for example:
folder_a contents:
- folder_b
- settings.inc (the include file with $thing)
- other php pages
folder_b contents:
- folder_c
- settings.inc (with its OWN $thing)
- other php pages
i'm trying to come up with a way to print $sectionTitle from folder_a in one of the pages in folder_b with AS LITTLE work from an average user who knows absolutely no php and probably edits their pages without looking at the code at all . i have to make these pages as user friendly as possible.
i started by making multiple variables in each folder and just changing what they link to, but that would involve work on the part of a user who can't visualize a web tree (they'd have to change each variable themselves). i want something that will work on its own, i.e. access $thing from two levels up on every page and print it.