php attach two strings together code example
Example 1: php connect strings
$string3 = $string1 . $string2;
Example 2: php append string
<?php
$a = "Hello ";
$b = $a . "World!"; // now $b contains "Hello World!"
$a = "Hello ";
$a .= "World!"; // now $a contains "Hello World!"
?>