I am new to PHP and I want to concatenate a string with a variable without any space. I am using a variable $var and a string which is given below.
$var
Please try below code : concatenation $var and $str using dot(.)
$var = 'variable'; $newvar = "Name\\Branch\\".$var