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 trialjdkakdjjd
1,385 PointsI'm having issues making "mike" echo on the page. I believe I've done it correctly but it looks like something missing.
<?php $name = mike ?>
<?php echo $name; ?>
What am I missing?
2 Answers
Fabion Stephens
Courses Plus Student 5,893 PointsAlso you are missing the quotes around "Mike"
Fabion Stephens
Courses Plus Student 5,893 PointsMaybe try putting the echo in the same php code block and see if that works. eg
<?php
$name = "Mike";
//put your echo statement here
?>
Logan R
22,989 Points*You also need to make sure Mike is capitalized or it will not accept it.
jdkakdjjd
1,385 Pointsjdkakdjjd
1,385 PointsThank you very much for your help, that did it. Thank you!