Concatenating Strings-PHP

Priyesh
1 min readSep 21, 2019

How do we concatenate string variables in PHP? And what is concatenation?

String concatenation put simply is when you join two string values together.

Firstly, you are going to create two variables called firstName and lastName. You can assign these variables to any string value you want. Make sure you do not forget those semi-colons.

--

--