Concatenation Flashcards

1
Q

Using variable $message, how do you concatenation the following 2 strings:
$greeting = “Hello, “;
$name = “John“;

A

$message = $greeting . $name;

How well did you know this?
1
Not at all
2
3
4
5
Perfectly