fgetcsv is a simple function to generate excel documents. Starting from PHP 4.3.5, the operation of fgetcsv() is binary safe
代码如下 | 复制代码 |
$file = fopen("contacts.csv","r"); print_r(fgetcsv($file)); fclose($file); ?> |
http://www.bkjia.com/PHPjc/445293.htmlwww.bkjia.comtruehttp: //www.bkjia.com/PHPjc/445293.htmlTechArticlefgetcsv is a simple function to generate excel documents. Starting from PHP 4.3.5, the operation of fgetcsv() is The binary safe code is copied as follows?php $file = fopen(contacts.csv,r); prin...