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![](https://ecs-static.teamtreehouse.com/assets/views/marketing/shared/community-banner-white-47072046c51352fe6a69f5e691ff5700b28bb11d45197d7bdf066d9ea3f72d0c.webp)
![mavromanolakis michail](https://secure.gravatar.com/avatar/3f5e74f4098e0ac23bbb101af02dcd81?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
mavromanolakis michail
533 Pointsworks in preview but bummer say that i forgot the command echo
this is my code: <?php echo 'Today is '; //Place your code below this comment $today = date('F d, Y'); echo $today; ?>
<?php
echo 'Today is ';
//Place your code below this comment
$today = date('F d, Y');
echo $today;
?>
1 Answer
![Jason Anders](https://uploads.teamtreehouse.com/production/profile-photos/3512822/micro_Jason_s-Pic.jpg)
Jason Anders
Treehouse Moderator 145,859 PointsHey there,
For the most part, you have it. Everything is syntactically correct... except the instructions did not say to create a new variable to hold the date. The instructions specifically say: "Use a SINGLE date function to display today's date in the message."
.
So, just delete the variable declaration and echo
out the date directly and the task will pass.
A good thing to remember is that Challenge instructions are always very specific and need to be followed exactly. If you do something that wasn't asked for, misspell a word, miss a punctuation mark, etc... you'll more that likely to receive the Bummer
even though the code is syntactically correct. So, just watch the instructions.
Otherwise, Nice work! :)
mavromanolakis michail
533 Pointsmavromanolakis michail
533 PointsThanks you very much Jason! i found my mistake, just 20 sec after i posted my question! Thank you anyway for your intrest and your speed!