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 trialandrewmott
2,593 PointsIm lost. Please help.
Been trying to figure this out. I don't get what it wants me to do. Everything i think that it is its not. If anyone has any ideas on how to get passed this that would be great! Thanks!!
Here's a block of PHP code that displays the name of our website on the screen. Let's modify this to use a variable instead. Right now, the code displays the name of our website on the screen. Modify it to assign the name of our website to a variable called "name". (Don't forget to use a dollar sign in the variable name.)
<?php
echo "Shirts 4 Mike";
?>
2 Answers
Andres Altuve
16,274 Points<?php
$name = "Shirts 4 mike";
echo $name;
?>
andrewmott
2,593 PointsThanks Man! Appreciate it!