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

Challenge broken?

I've attempted this multiple times and have yet to succeed on what seems to be a super simple request.

I've named the variable

$name = "Mike"

and then added the if statement:

if( $name == 'Mike') {

}

I also attempted to match type(string) and value(Mike) based on the wording of the question:

if( $name === 'Mike' ) {

}

Still incorrect.

Anyone else having these issues or am I just overlooking a glaring error in what seems to be a simple task?

1 Answer

Hi Colin,

From what I've seen in the forum it seems to be a known issue.

I think the general reply is to skip this challenge and come back to it once it has been confirmed to be resolved.

Thanks

-Rich