Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialOzcan Durak
Courses Plus Student 984 Pointsinclude file doesn't work for me
When type include file, as same on the video i created header, footer, shirts.php file and typed everything in there, but cannot load header and footer on any page apart home page. i have tried everything to find out. but couldn't sort it out. please help
2 Answers
Jason Anello
Courses Plus Student 94,610 PointsHi Ozcan,
Your index page works properly? Do you have shirts.php in the same folder as index.php?
You may need to post the code you have for shirts.php
Ozcan Durak
Courses Plus Student 984 PointsThanks for the answer Jason,
I found what guide me wrong to code. I watched the video and tried everything to be same as in the video and finally downloaded the .zip file and many thing was different than what have been showed.
I strongly suggest you guys to mention that to us. As i m a new TeamTreeHouser i didn't realise that until i downloaded the file.
Jason Anello
Courses Plus Student 94,610 PointsGlad you got it figured out.
I only remember needing the project files to get the images and the css file because those aren't covered in the course. I thought all the php files were created from scratch.