Welcome to the Treehouse Community
Looking to learn something new?
Annalyn AguilarCourses Plus Student 150 Points
<?php echo $name ?> Will print the name right? why it says BUMMER when I check my work?
<?php $name = "Mike"; ?> <?php echo $name ?>
Ryan FieldCourses Plus Student 21,240 Points
Hi, Annalyn. While what you have will work technically, the challenge wants you to put everything inside one php block. In addition, while you can omit semicolons for single-line blocks of PHP, it's always a good idea to include them so you don't run into errors if you decide to add on more code later.
Jonathan GrieveTreehouse Moderator 90,719 Points
I can't think of a reason based on what I've learned today. Seems odd.
Is it looking for a different variable name of a different string? The code challenges look for something very specific. :-)