PHP读取CSV文件

 

$file = fopen($filePath,"r");

while(!feof($file))
{
    $playerData[] = (fgetcsv($file));
}

fclose($file);
相关文章
相关标签/搜索