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!
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
what am I doing wrong?
Yet again I am stuck the question is as follows:
Remove the four underscores in the echo command and concatenate the remaining text with the variable $fullName.
The text looks like this:
echo "The designer at Shirts 4 Mike shirts is named ____";
And my answer was this:
echo "The designer at Shirts 4 Mike shirts is " . $fullName;
Please help me to understand what I'm doing wrong.
<?php $firstName = "Mike"; $middleName = "the"; echo "The designer at Shirts 4 Mike shirts is named ____"; ?>
Samuel Webb25,370 Points
The problem is that you removed the word "named". It should be:
echo "The designer at Shirts 4 Mike shirts is named " . $fullName;