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

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
17,146 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.

Kinan B
Kinan B
19,428 Points

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