Join two string variables together in PHP
Description
The following code shows how to join two string variables together.
Example
// ww w . ja v a 2s . c o m
<?php
$str1="Hello world!";
$str2="What a nice day!";
echo $str1 . " " . $str2;
?>
The code above generates the following result.