php join string and variable code example
Example 1: add more data to variable php
$a = "Hello ";
$a .= "World!";
Example 2: php concatenate two variables
$string = "the color is ";
$string .= "red";
echo $string; // gives: the color is red
$a = "Hello ";
$a .= "World!";
$string = "the color is ";
$string .= "red";
echo $string; // gives: the color is red