/**
* PHP解析 CSV 文件
*
* @param
* @arrange 512-笔记网: jb51.cc
**/
$fh = fopen("contacts.csv","r");
while($line = fgetcsv($fh,1000,",")) {
echo "Contact: {$line[1]}";
}
/*** 来自编程之家 jb51.cc(jb51.cc) ***/
原文链接:https://www.f2er.com/php/528242.html