How to append a string in PHP
By using Concatenation assignment operator(.=) we can append a string with another string.
1 2 3 4 5 |
<?php $string="Welcome to"; $string.="PHPGurukul"; echo $string; ?> |
Output will be : Welcome to PHPGurukul