Got a simple question that should be easy to do, just can't figure it out on my own.
I.e.:
I have four folders on my site
Local
National
Editorial
Entertainment
I have 4 identical pages made, one in each of these folder, that grab files from these folders, with the exception of a few files that are specific to the individual pages.
What I would like to do is:
<?php include('foldername+header.html'); ?>
So when the page is placed in the National folder it would know to include
<?php include('Nationalheader.html'); ?>
and when the page is opened in it's Editorial folder it would be:
<?php include('Editorialheader.html'); ?>
Any ideas on how I would do this?
Thanks;
hviking