I am using include to attach a navbar and a footer to pages on my site. The navbar works perfectly but the footer keeps giving me this error:
`Warning: include(C:\inetpub\wwwrootooter.php) [function.include]: failed to open stream: Invalid argument in C:\Inetpub\wwwroot\templatewip.php on line 69
Warning: include() [function.include]: Failed opening 'C:\inetpub\wwwrootooter.php' for inclusion (include_path='.;c:\php\includes;C:\Inetpub\wwwroot\') in C:\Inetpub\wwwroot\templatewip.php on line 69`
This is the code:
<div id="footer">
<?php include("C:\inetpub\wwwroot\footer.php"); ?>
</div>
If it helps, here is the working code for the navbar:
<div class="navbar">
<?php include("C:\inetpub\wwwroot\menuembed.php"); ?>
</div>