update : 2015.11.03
php.shukuma.com검색:
|
fgetcsv(PHP 4, PHP 5, PHP 7) fgetcsv — Gets line from file pointer and parse for CSV fields 설명
array fgetcsv
( resource
$handle
[, int $length = 0
[, string $delimiter = ","
[, string $enclosure = '"'
[, string $escape = "\"
]]]] )Similar to fgets() except that fgetcsv() parses the line it reads for fields in CSV format and returns an array containing the fields read. 인수
반환값Returns an indexed array containing the fields read.
fgetcsv() returns 변경점
예제
Example #1 Read and print the entire contents of a CSV file
<?php 주의
참고
|