Tag : Combining Two Strings in PHP

How to Concatenate two or more string in PHP
PHP

How to Concatenate two or more string in PHP

Anuj Kumar
We can concatenate two or more string in PHP by concatenation operator(“.”); Example 1 : <?php $string1="Hello"; $string2="World !!"; $string3=$string1.$string2; echo $string3; ?> Output :