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 Conditionals & Loops Conditionals Challenge

Pepe Suarez
Pepe Suarez
18,267 Points

For some reason i cant get this right

I am trying to solve this challenge and im doing exactly the instructions but i cant get the final step right,

Please show use some code.

Pepe Suarez
Pepe Suarez
18,267 Points
$name='Mike'

  if($name =='Mike'){
      echo "Hi,I am Mike"
}
missgeekbunny
missgeekbunny
37,033 Points

Check your semi colons. Your computer likes them.

1 Answer

missgeekbunny
missgeekbunny
37,033 Points

It is hard to tell what's going on without seeing any code. The only tips I have is make sure you are using semi colons and the echo command.