Answers for "php how to join strings"

PHP
0

join array of strings php

$arr = array('Hello','World!','Beautiful','Day!');
echo join(",",$arr);
Posted by: Guest on April-05-2020
4

concatenate string php

<?php 

// First String 
$a = 'Hello'; 

// Second String 
$b = 'World!'; 

// Concatenation Of String 
$c = $a.$b; 

// print Concatenate String 
echo " $c \n"; 
?>
Posted by: Guest on May-08-2020

Browse Popular Code Answers by Language