How to Concatenate two or more string in PHP


- Advertisement -

We can concatenate two or more string in PHP by concatenation operator(“.”);
Example 1 :

Output : HelloWorld !!
Example 2:  if you want to add space between two strings

Output : Hello World !!
Example 3:  Concatenate more than two strings

Output : Welcome to PHPGurukul Programming Blog

- Advertisement -

Leave A Reply

Your email address will not be published.