Please help… this should be simple but it is not working for me! I am a total newbie but I’ve been reading about this for over a week and no luck
I have a navigation.php file that has the following code (I’ve also tried it very simple without the div class but it didn’t make a difference):
[code]
>Navigation</HEAD>[/code]
Then my main page has lots of code but I’ll only paste the relevant part:
[code]
<link rel="stylesheet" href="http://s3.amazonaws.com/codecademy-content/courses/ltp/css/bootstrap.css">
<link rel="stylesheet" href="main.css">
<?php require("navigation.php"); ?>
[/code]
(The home page file is attached too).
I’ve tried require and I’ve tried include.
Then I put it on our FTP and view them both … the navigation is not being pulled into the main page… WHY???
Please help! Thanks, K
new home.pdf (14.5 KB)