I know the basic php include code, <?php include("header.php"); ?>
But that only works if the include file is in the same directory. I want to make several directories, and it will be a hassle to put these include files in each directory. I was wondering what the exact php include code is for using includes from a different directory within the same website. I read somewhere that it was something like <?php include("_header.php"); ?>
.......but I did not understand if I was supposed to add something before the underscore. I tried adding a slash mark / before the header and correct directory name, and also tried inputting my entire web site url plus directory path that the include codes are in, but those did not work. Can I still use the same original include code but add something in front of header? Thanks
