<?php $arr = array('cat','dog','elephent'); // it will convert array to string $str = implode(', ',$arr); echo $str; ?>