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

Brian Hayes
Brian Hayes
20,986 Points

PHP Variables Code Challenge

I get past the first part of the challenge and then it asks me to echo Mike's name. So I add the echo and name variable to the code and get the "Bummer! I am not seeing "Mike" in the output. Did you echo something different?"

I tried using another php tag, but still the same issue. Either there is something i can't see, or there's a bug. I've tried refreshing the page, exiting and going back into it and doing it over but i still end up stuck here.

So am I coding this incorrectly, or do i have it right and then need to send something into support?

index.php
<?php 

  $name = "Mike";
  echo $name;

?>

4 Answers

Ryan Field
PLUS
Ryan Field
Courses Plus Student 21,242 Points

Your code passes the challenge for me no problem. I copy and pasted it, so if you're still having troubles, you may want to contact support.

Marcus Eley
Marcus Eley
16,213 Points

Hello Joey,

I copied and pasted your answer as you posted it into the challenge that you are having issues with and it worked just fine for me. If you try it again in a few minutes and it still doesn't work you might have an issue which the support team might be able to help you figure out.

Brian Hayes
Brian Hayes
20,986 Points

after waiting a while and coming back my answer was finally accepted. So yes, thank you both for confirming that it was a bug or just some weird communication issue of sorts.

Thanks again!