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 Simple PHP Application Creating the Menu and Footer Including the Footer and Adding Additional Pages

Dayne Wright
Dayne Wright
11,235 Points

Why do you include the closing or opening tag in the footer or header files for statements that are in index.php?

This is probably a dumb question, but I don't understand why you would include the closing tag from a div in the index file in the start of the footer file. Is there a reason he does this in the videos?

2 Answers

Ken Alger
STAFF
Ken Alger
Treehouse Teacher

Dwayne;

See this discussion and post back if that answers your question or not.

Ken

Dayne Wright
Dayne Wright
11,235 Points

Thanks!

That is cool! I never would have thought to do that.