+ 1
How will you concatenate two strings in php?
3 Answers
+ 9
You can join two strings together using the dot ( .) concatenation operator.
For example: echo $s1 . $s2
+ 1
echo "string" . " another string";
0
$Output = $String.$string2;
Or
$Output = "Hi "."my name is Josh l";