It can do in two ways
Using Concatenation Operator
<?php // First String $string1 = 'Welcome'; // Second String $string2 = ' to'; // Concatenation Of String $string3 = $string1.$string2; // print Concatenate String echo " $string3 \n"; ?>
OUTPUT
Welcome to
0 0Please Login to Post the answer