Current course:

PHP variable concatenation

Concatenation: the operation of joining two or more character strings end to end.

To join two strings together, we use the "." (period) symbol.
$name = "John"."Doe";
echo $name;
This will echo "JohnDoe".

It's a little pointless to concatenate to non-variable strings together, as you could just do this:
$name = "John Doe";

Usually concatenation is used when you have variables:
$first = "John";
$last = "Doe";
$name = $first." ".$last;
echo $name;
This will echo "John Doe";

You can also add strings to the end of a variable with ".=":
$sentence = "John Doe";
$sentence .= " is so awesome!";
echo $sentence;
This will echo "John Doe is so awesome!";