去掉數組中的空值 php

$str1_array=array('腳本之家','','http://www.jb51.net','','1654',''); $str1_array=array_filter($str1_array); print_r($str1_array); echo implode(",",$str1_array); 出處:http://www.jb51.net/article/28871.htm
相關文章
相關標籤/搜索