fputcsv
fputcsv
(PHP 5 >= 5.1.0, PHP 7)
fputcsv — Format line as CSV and write to file pointer
Description
int fputcsv ( resource $handle , array $fields [, string $delimiter = "," [, string $enclosure = '"' [, string $escape_char = "\" ]]] )
fputcsv() formats a line (passed as a fields
array) as CSV and write it (terminated by a newline) to the specified file handle
.
Parameters
-
han