programming-examples/php/Basics/Program to combine the array elements into a string with given delimiter..php

7 lines
81 B
PHP
Raw Permalink Normal View History

2019-11-18 14:44:36 +01:00
<?php
$arr = array(9,1,2013);
$str = implode('/',$arr);
echo $str;
?>