how to convert array to string? in php code example
Example: php Array to string conversion
Using implode() function in Php
-----------------------
Syntax
implode(separator,array);
Example
<?php
//assigning value to the array
$dummyArr = array("Hello","Greppers,","Ankur","here !");
echo implode(" ",$dummyArr);// Use of implode function
?>
Output:
Hello Greppers, Ankur here !