Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

PHP PHP Basics (Retired) PHP Data & Structure PHP Variables

JENNIFER CHAKNIS
JENNIFER CHAKNIS
1,992 Points

Help with task 2 Php Basics

I can't get passed task 2, where it is not seeing Mike in the output

here is the code i have:

<?php

$name = "Mike";

echo $name;

?>

3 Answers

Nicholas Vandenbroeck
Nicholas Vandenbroeck
4,599 Points

Nothing wrong with this code. Maybe there was some previous code in the course you didn't add?

Robert Walker
Robert Walker
16,514 Points

I had the same issue when I tried it for the first time, I assumed my internet dropped for a second. I ended up refreshing the page and it worked fine for me.

I would assume there is a little bug in it.

John Blue
John Blue
17,746 Points

The code challenge works fine, and there are no mistakes in your code. just try the challenge again, It should work.