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 trialkkswecpsyl
8,155 PointsTask 2 of 2 in PHP basics
Have no idea why this is not working
<?php
$name = "Mike" ;
echo $name ;
?>
I have tried spaces between semicolons, writing it on line one, different php blocks and I am still getting the bummer error..
What the hell am I missing?
2 Answers
Sue Dough
35,800 Points<?php
$name = "Mike";
echo $name;
?>
Try it without the spaces
kkswecpsyl
8,155 PointsOk this is really strange, I removed the spaces it didn't work. But then I copy pasted your code (even though it was exactly the same) and It worked.
Definitely some bug issues here. Thanks though
Sue Dough
35,800 PointsGlad I could help.