Code :$data = array('Anish', 'Bala', 'Somu'); $string = implode(',', $data); print_r($string); Output :Anish,Bala,Somu Tags PHP Log in or register to post comments