Making a string from an array with implode() : implode « Data Structure « PHP
- PHP
- Data Structure
- implode
Making a string from an array with implode()
<?
$dimsum = array('A','B','C');
$menu = implode(', ', $dimsum);
print $menu;
?>
Related examples in the same category