Set Implode char : Explode implode « Development « PHP






Set Implode char


<?php
   $cities = array("A", "B", "C", "D");
   echo implode("|", $cities);
?>

           
       








Related examples in the same category

1.explode time
2.Implode array elements
3.Takes a string apart based on a delimiter
4.Imploding an Array