NextIndexRight

Programs in PHP

10. Program to combine the array elements into a string with given delimiter.
<?php

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

9/1/2013

Father of PHP

Rasmus Lerdorf

Rasmus Lerdorf

Born: November 22, 1968, Greenland
Google+