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 Daily Exercise Program String Manipulation

Hayder Hazym Hayder
Hayder Hazym Hayder
1,666 Points

I don't know where is my Error for this Task.

I don't know where is my Error for this Task.


$firstName = 'Rasmus';
$lastName =  'Lerdorf';
$fullname = $firstName . ' ' . $lastName;
$fullname = $fullname . ' ' . 'was the orgininal creator of PHP';
echo $fullname . ' ' . "\n" ;

//Place your code below this comment

Amy Kelly
Amy Kelly
3,588 Points

The question isn't asking you to change the variable to the fullname + the string, meaning you do not need the following line $fullname = $fullname . ' ' . 'was the orgininal creator of PHP';. So then you would echo the fullname as you have done and with the string rather than the blank space :) ps. make sure you post the code below the comment as well next time!