View Single Post
  #6 (permalink)  
Old 05-12-2008, 06:42 AM
saravanan saravanan is offline
D-Web Sr.Programmer
 
Join Date: Jul 2007
Posts: 181
saravanan is on a distinguished road
Default Re: PHP String Functions With Examples

The implode() function returns a string from the elements of an array.
<?php
$arr = array('Hello','World!','Beautiful','Day!');
echo implode(" ",$arr);
?>

The output of the code above will be:

Hello World! Beautiful Day!
Reply With Quote