数组拼接成字符串——PHP

$array = array('lastname', 'email', 'phone');

$comma_separated = implode("/", $array);

 

你可能感兴趣的:(#,PHP语法)