Join two string variables together and output in PHP
Description
The following code shows how to join two string variables together and output.
Example
/*from w w w. j a v a 2s . c om*/
<?php
$str1="Hello world!";
$str2="What a nice day!";
print $str1 . " " . $str2;
?>
The code above generates the following result.