forgot how to insert a space in a variable

Mike's Avatar
Go4Expert Member
I forgot how to insert a space in a variable. The code below displays two database variables side by side, like "FirstNameLastName" How can I insert a space so it displays "FirstName LastName"?

$Name = $FirstName.$LastName;
0
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
$Name = $FirstName.' '.$LastName;
0
coderzone's Avatar, Join Date: Jul 2004
Team Leader
$Name = "$FirstName $LastName";

The above option is also there but the better one is already told by Shabbir.
0
Mike's Avatar
Go4Expert Member
simple, simple haha