Jump to content

New Student having trouble with Includes and directory structure


Recommended Posts

Hi all, I have been perplexed for two days now, so I hope someone can shed some light on what I am doing wrong. The text says to: Then place header.html,footer.html, and style.css into the includes directory.


I made an includes (new folder) directory in the webdocs folder that my school provides for the course. I ftped header, footer, styles to this location along with the index.php file. I put the header and footer inside the includes folder, as well as outside of the folder. Seems where ever I put it, the only thing that shows up in my browser is my index.php file without the header, footer, and .css files attached.


I have restarted the whole project and did it again and I am still stuck. I think I need a new wording for the sentence? "Create an includes directory in the same folder as index.php." Folder structure is my weakness.


Thank you for your help in advance!

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.