Skip to main content

PHP combine the array elements into a string


<?php 

       $arr = array(9,1,2013);
       $str = implode('/',$arr); 
       echo $str; 

 ?>

Comments