Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

PHP PHP Basics PHP on the Web Including PHP

I can't resolve this challenge for some reason please helphttps://teamtreehouse.com/library/php-basics-2/php-on-the-web/

I have the front end screen which seems good, but I spent, days and I let it drop, is the only challenge that is missing for that training

index.php
<html>
<head>
<title>A Few of My Favorite Things</title>
</head>
<body>
<h1>A Few of My Favorite Things</h1>

</body>
</html>

2 Answers

Thank you very much indeed It past I try to click best answer, it doesn't

Kieran Barker
Kieran Barker
15,003 Points

All you need to do is add the following under the <h1> tag:

<?php include 'inc/favorites.php'; ?>

I recommend you read up on this here so you don't get caught out again in the future. I hope this helps!