PHP » GoLang |
login |
register |
about
|
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
Parameters
Return Values
Returns the length of the written string or Changelog
Examples
Example #1 fputcsv() example
<?php The above example will write the following to file.csv: aaa,bbb,ccc,dddd 123,456,789 """aaa""","""bbb""" Notes
|
more
Recently updated
more
Most requested
more
Last requests
|