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 A Simple PHP Example

This challenge is killing me --- I have no clue!

This is so embarrassing; first challenge and I'm already stuck! :) What am I doing?! I'm just doing exactly as the challenge says. Could someone post what they would do and I'll see if it's like mine? Thank you in advance!

~ Gabriel

index.php
<!DOCTYPE html>
<html>
<body>
    <h1><?php echo Personal Media Library; ?></h1>
</body>
</html>

4 Answers

Nicholas Grenwalt
Nicholas Grenwalt
46,626 Points

You just need to wrap Personal Media Library with double quotes since you want the echo command to return a string. That should do the trick. Keep up the coding.

Ah, thanks! I though I tried that before, but it must have just been some syntax error. Thanks again!

Yeah, I didn't mean to sound like a post-a-holic, but the challenge said, "without the quotes", so that kind of messed me up! I get it now though. :) Thanks,

~ Gabriel

Hey Gabriel, I've noticed you're someone that asks a lot of questions in the forum, which is a good thing! A good point to remember is that anything that's a string (letters) most likely needs to be closed in quotes of some kind to help the program distinguish the letters as a string.