Hi all
I am a php beginner. I’m busy trying to run through some tutorials.
I have some php script which is using “include” to locate a header file, however the include statement is not finding that header file.
I am currently working on my home computer just running through online tutorials so nothing is saved on an external server…
The php line I use in my “homepage.php” file is as follows
<?php include("../Inc/header.php"); ?>The file it looks for is header.php in the Inc folder but it cant seem to locate it.
The “homepage.php” file runs successfully, but does not pick up the header file it is looking for.
If I run the “header.php” file on its own it works…
Does anyone have any ideas?