Answers for "hoew how to convert an array to string php"

PHP
7

php implode

$arr = array('Hello','World!','Beautiful','Day!');
echo implode(" ",$arr);
// Outputs: 'Hello World! Beautiful Day!'
Posted by: Guest on June-16-2020

Code answers related to "hoew how to convert an array to string php"

Browse Popular Code Answers by Language