扩大
缩小

PHP读取CSV文件

 

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

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

fclose($file);

  

  

posted @ 2017-11-06 09:08  悟空聊架构  阅读(1831)  评论(0编辑  收藏  举报
Copyright ©2019 悟空聊架构