Home > Backend Development > PHP Tutorial > Usage of fgetcsv() function in php_PHP tutorial

Usage of fgetcsv() function in php_PHP tutorial

WBOY
Release: 2016-07-20 11:03:33
Original
927 people have browsed it

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);
?>

www.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...
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template