I have a Header File by the name header.php which goes like this :
It is inside a folder called includes so the path is includes/header.php
Maybe it's better to test with header.php absolute path first. Also path of your scripts and style sheets should be relative to index.php not header. (Sorry for bad English)
You're including ../include/header.php
and style.css is there too, namely ../include/style.css
. So, you must either use the same relative path or an absolute path to your css /include/style.css
.
The link to your CSS file should be relative to the URL of the page you are viewing.
For example, if you view your page at example.com
, you must reference the CSS file with example.com/includes/style.css
.