Answers for "array to string in php 4"

PHP
2

Array to String Conversion in PHP

$gadget = array( 'computer', 'mobile', 'tablet' );
echo implode($arr);
Posted by: Guest on July-05-2020
7

php implode

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

Browse Popular Code Answers by Language