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 trial

PHP Build a Basic PHP Website (2018) Building a Media Library in PHP Including the Footer and Adding Additional Pages

Explain???

Alena,

Why do you not explain that it is required to delete the html from the index.php page before you paste the <?php include("inc/footer.php"); ?>

This video is missing some key steps

1 Answer

Randolph Judy
PLUS
Randolph Judy
Courses Plus Student 28,198 Points

I listened to the video and looked at the video. She said, "Let's move the shared code from index.php to footer.php.". This infers that you would perform the equivalent of a 'cut' and 'paste' operation, depending on your development environment.

Max Miko
Max Miko
1,670 Points

Yes, also at the first just copy-paste. But then saw that she cut-paste her code. So all is right.