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 PHP Basics (Retired) PHP Data & Structure PHP Variables

Echo Mike's name on the screen

I cant figure out why i am still getting a bummer on this one

index.php
<?php  

 $name = "Mike"; 

   echo $name 

?>

3 Answers

MUZ140560 Tandiwe Tsanulani

If you are using the exact code that you pasted here, you are missing a semicolon (;) after the $name variable in the echo statement. Other than that, you shouldn't be getting a failure on the challenge.

Cheers!

Hi,

That worked for me for both stages. What error are you receiving?

-Rich

Got it thanx

No problem :)

-Rich

Got it finally thank you