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 trialchiwawa
1,935 PointsAs a developer, you'll spend a lot of time in the documentation. For this code challenge, you'll need to check out the d
I can not find an error. They said "Bummer: You have not passed the correct string for formatting."
chiwawa
1,935 PointsI'm sorry about that. This is my code.
<?php
echo 'Today is ';
//Place your code below this comment
echo date('F d, Y');
?>
Thank you.
1 Answer
rydavim
18,814 PointsHuh, that's odd. Your code works as expected for me. Are you getting a particular error message?
<?php
echo 'Today is ';
//Place your code below this comment
echo date('F d, Y');
?>
Just copy-pasting your code into the challenge immediately passed it for me, and I don't see anything wrong with it. I would try it again just to see if something was just a bit glitchy. If you're still having trouble though, let me know and we can try to troubleshoot or escalate the issue.
Nice work, though - and happy coding!
chiwawa
1,935 PointsThank you for your help.
I tired it but still there is " Bummer: You have not passed the correct string for formatting. "
Thank you anyway.
rydavim
18,814 Pointsrydavim
18,814 PointsYou’ll need to post your code so we can take a look at what might be going wrong. You can get some fancy formatting by using some special markdown.