Welcome to the Treehouse Community
Looking to learn something new?
Adam Smith4,611 Points
I am not able to add space between two php variables when combined into a third one.
Create a third string fullname. I'm stuck here. Googled for help. Did not manage to solve.
<?php //Place your code below this comment $firstName = "Rasmus"; $lastName = "Lerdorf"; $fullname = $firstName " " $lastName; ?>
You need to have periods to concatenate (glue together) strings.
$fullname = $firstName . " " . $lastName;
I hope this helps. ~Alex