Using implode() functioninPhp
-----------------------
Syntaximplode(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 !