Answers for "how to store array values in one string in 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 "how to store array values in one string in php"

Browse Popular Code Answers by Language