How to append a string using PHP

Welcome Back to Shortlearner.com, today we will see how to append a string with the help of php.

How to append a string using PHP

in the previous tutorial we see  How to Concatenate two or more string in PHP By using Concatenation assignment operator(.=) we can append a string

with another string.

<?php
$string="Welcome to";
$string.="Shortlearner";
echo $string;
?>

Output will be : Welcome to Shortlearner