title: i cant use header nav in a folder or a seperate folder with index
body: <p>sorry im a newbie i saw similar things but my question is slightly different, so my question is if my assets file includes header.php gallery.php and contact.php i cant use something like this to lead another link  :</p>
  <pre><code>    &lt;li&gt;&lt;a class=&quot;nav-link&quot; href=&quot;assets/gallery .php&quot;&gt;gallery &lt;/a&gt;&lt;/li&gt;
  </code></pre>
  <p>or</p>
  <pre><code>    &lt;li&gt;&lt;a class=&quot;nav-link&quot; href=&quot;../assets/gallery .php&quot;&gt;gallery &lt;/a&gt;&lt;/li&gt;
  </code></pre>
  <p>etc. because if im in gallery and clicking contact.php im having file path errors. you know it is becoming like assets/assets/contact.php what should the path be if header and other files are in a folder ?</p>
  <p>also if my index.php is at root and if header is in assets then how should i include my index path in header nav link ?</p>