Hello,
My problem is that for my menus i use the PHP include function, but i have just made a new directory to start making my blog inside, and my php include function isn't working, because my pages are in the previous directory, how can i get around it?
Below is my code:
HTML
My problem is that for my menus i use the PHP include function, but i have just made a new directory to start making my blog inside, and my php include function isn't working, because my pages are in the previous directory, how can i get around it?
Below is my code:
HTML
Code:
<div id="menu">
<?php include("../Nav_Bar.php"); ?>
</div>
<!-- end #menu -->
PHP:
<link href="style.css" rel="stylesheet" type="text/css" media="screen" />
<html>
<div id="menu">
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="Blog.html">Blog</a></li>
<li><a href="Gallery.html">Gallery</a></li>
<li><a href="Documents.html">Documents</a></li>
<li><a href="DoingDofE.html">Doing DofE</a></li>
<li><a href="DofE_News.html">DofE News</a></li>
<li><a href="ContactUs.html">Contact Us</a></li>
</ul>
</div>