update : 2015.11.03
php.shukuma.com검색:
|
fputcsv(PHP 5 >= 5.1.0, PHP 7) fputcsv — Format line as CSV and write to file pointer 설명
int fputcsv
( resource
$handle
, array $fields
[, string $delimiter = ","
[, string $enclosure = '"'
[, string $escape_char = "\"
]]] )
fputcsv() formats a line (passed as a
인수
반환값
Returns the length of the written string실패 시 변경점
예제
Example #1 fputcsv() example
<?php The above example will write the following to file.csv: aaa,bbb,ccc,dddd 123,456,789 """aaa""","""bbb""" 주의
|