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 trialAdam Smith
4,611 PointsI'm stuck. Could you please help with the answer? Thanks.
I don't know why the compiler won't accept my answer. Thanks.
<?php
//Place your code below this comment
$firstName = "Rasmus";
$lastName = "Lerdorf";
$fullname = $firstName . " " . $lastName;
.= 'was the original creator of PHP'/n
?>
2 Answers
Russell Comer
26,102 Points<?php
//Place your code below this comment
$firstName = "Rasmus";
$lastName = "Lerdorf";
$fullname = $firstName . " " . $lastName;
echo $fullname . ' was the original creator of PHP' . "/n";
?>
Its asking to print out the string using the $fullname variable
Daan Schouten
14,454 PointsYou seem to have forgotten the variable name on the last line.
<?php
//Place your code below this comment
$firstName = "Rasmus";
$lastName = "Lerdorf";
$fullname = $firstName . " " . $lastName;
$fullname .= 'was the original creator of PHP'/n;
?>
Adam Smith
4,611 PointsNow it says task 2 is no longer passing.