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...
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn