Repackage the contents of an array into a delimited string, : implode « Data Structure « PHP






Repackage the contents of an array into a delimited string,

 
<?php 
$fulldate = implode ("-", $expdate); 
echo $fulldate; 
?>
  
  








Related examples in the same category

1.Consider the following block of code
2.implode an array to form a string.
3.implode( ) function converts an array into a string by inserting a separator between each element
4.implode.php
5.Using the implode() Function
6.Making a string from an array with implode()
7.Outputting an Array As a String
8.Printing HTML table rows with implode()