failed to open stream and inclusion
<p>I am trying to make a link to registernumbers.php from my index.php, but I get the following error. As I can read on Stackoverflow, I get this error because I am not giving the full path from the root.</p>

<p>As I see it, I am givning the full path? Does anybody know how to solve this. My cache in MAMP is also turned off.</p>

<p>index.html (Here I link to registernumbers.php. When I click this link the error comes)</p>

<pre><code>  &lt;li&gt;
      &lt;a href="php/global/registernumbers.php"&gt;Register&lt;/a&gt;
  &lt;/li&gt;
</code></pre>

<p>registernumbers.php</p>

<pre><code>&lt;?php
if( !isset( $_SESSION ) ) session_start();
?&gt;
&lt;?php include 'resources/includes/header.html';?&gt; &lt;!-- Line 4 --&gt;

&lt;h1&gt;Register Numbers&lt;/h1&gt;

&lt;/body&gt;
&lt;/html&gt;

Warning: include(resources/includes/header.html): failed to open stream: No such file or directory in /Applications/MAMP/htdocs/website/php/global/registernumbers.php on line 4

Warning: include(): Failed opening 'resources/includes/header.html' for inclusion (include_path='.:/Applications/MAMP/bin/php/php5.6.2/lib/php') in /Applications/MAMP/htdocs/website/php/global/registernumbers.php on line 4
Register Numbers
</code></pre>

<p><a href="https://i.stack.imgur.com/YsYBs.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/YsYBs.png" alt="Header Path"></a>
<a href="https://i.stack.imgur.com/FRdE1.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FRdE1.png" alt="Register numbers Path"></a></p>

<p>UPDATED Picture</p>

<p><a href="https://i.stack.imgur.com/7ItUR.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/7ItUR.png" alt="updated picture from comment"></a></p>