Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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!