
Druckansicht von http://www.php-homepage.de/manual/function.fputcsv.php
fputcsv(PHP 5 >= 5.1.0) fputcsv — Format line as CSV and write to file pointer Beschreibung
int fputcsv
( resource
$handle
, array $fields
[, string $delimiter = ','
[, string $enclosure = '"'
]] )
fputcsv() formats a line (passed as a
Parameter-Liste
Rückgabewerte
Returns the length of the written stringIm Fehlerfall wird Beispiele
Beispiel #1 fputcsv() example
<?phpThe above example will write the following to file.csv: aaa,bbb,ccc,dddd 123,456,789 """aaa""","""bbb""" Anmerkungen
Siehe auch
|