I have an included file (header.php) that calls another included file (campaigns.php). Since header.php can be called from different files in different directories, it needs to call campaigns.php from the website root. I can't seem to figure out how to do this in PHP.
The code is:
include("/campaigns.php");
but that doesn't work.
How can I make a call to a file and tell PHP to start at the website root?
I am using PHP on a Windows box with IIS.
I am brand new to PHP.
Thanks.