How to append a string in PHP

1 Answer

0 votes
$str1 = "c# php c++ java c";
$str2 = "python";

$str3 = $str1 . " " . $str2;
    
echo $str3;




/*
run:

c# php c++ java c python

*/

 



answered Dec 23, 2021 by avibootz

Related questions

2 answers 150 views
150 views asked Oct 19, 2023 by avibootz
1 answer 202 views
1 answer 197 views
3 answers 307 views
1 answer 245 views
245 views asked Aug 15, 2014 by avibootz
2 answers 234 views
1 answer 130 views
...