摘要:
$file = fopen($filePath,"r"); while(!feof($file)) { $playerData[] = (fgetcsv($file)); } fclose($file); 阅读全文
posted @ 2017-11-06 09:08
悟空聊架构
阅读(1846)
评论(0)
推荐(0)
摘要:
$lines = array_map('str_getcsv', file($filePath));; $result = array(); $headers = null; if (count($lines) > 0) { $headers = $lines[0]; } for($i=1; $i<count($lines); $i++) { $obj = $line... 阅读全文
posted @ 2017-11-06 09:07
悟空聊架构
阅读(1444)
评论(0)
推荐(0)

浙公网安备 33010602011771号