【发布时间】:2012-02-21 16:16:41
【问题描述】:
$file_handle = fopen("ticker.csv", "r"); while (!feof($file_handle) ) {
$line_of_text = fgetcsv($file_handle, 1024);
print '<div class="ticker_price">'. $line_of_text[7] . "</div>";
}
fclose($file_handle);
如何从 .csv 文件中的第 7 列读取有限数量的行
【问题讨论】:
-
看起来和这个问题一样:stackoverflow.com/questions/2961618/…
标签: php