How to add two strings in PHP

1 Answer

0 votes
$str1 = "ABCXN";
$str2 = "jdsd";

$tmp = $str1 . $str2;
    
echo $tmp;




/*
run:

ABCXNjdsd

*/

 



answered Dec 23, 2021 by avibootz
...