<?php
$array = array('lastname','email','phone');
$comma_separated = implode(",",$array); //使用 ,连接
?>