php sum two strings code example
Example 1: php connect strings
$string3 = $string1 . $string2;
Example 2: php concatenate two variables
$string = "the color is ";
$string .= "red";
echo $string; // gives: the color is red
$string3 = $string1 . $string2;
$string = "the color is ";
$string .= "red";
echo $string; // gives: the color is red