Answers for "how to add two string in php"

PHP
7

php concat

$a = "hello";
$b = "world";
$c = $a . " " . $b;

echo $c; // hello world
Posted by: Guest on February-24-2020
1

add more data to variable php

$a = "Hello ";
$a .= "World!";
Posted by: Guest on August-20-2020
2

how to add two string in php

Remember dot .
Posted by: Guest on August-23-2020
0

join string php

<?php
$arr = array('Hello','World!','Beautiful','Day!');
echo join(" ",$arr);
?>
Posted by: Guest on April-09-2020

Code answers related to "how to add two string in php"

Browse Popular Code Answers by Language