Answers for "php concatenate array values to string"

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

Code answers related to "php concatenate array values to string"

Browse Popular Code Answers by Language