How to append a string in PHP
By using Concatenation assignment operator(.=) we can append a string with another string.
<?php $string="Welcome to"; $string.="PHPGurukul"; echo $string; ?>
Output will be : Welcome to PHPGurukul
by Anuj Kumar
This is Anuj Kumar. I’m a professional web developer with 5+ years of experience. I write blogs in my free time. I love to learn new technologies and share them with others. I founded PHPGurukul in September 2015. The main aim of this website to provide PHP, CodeIgniter, MySQL, PHP Oops, and other web development tutorials.