note 106836 deleted from function.fputcsv by danbrown
| From: | danbrown@php.net | Date: | Sun, 11 Dec 2011 19:10:21 +0000 |
| Subject: | note 106836 deleted from function.fputcsv by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-185025@lists.php.net to get a copy of this message | ||
Note Submitter: lockster at gmail dot com
----
Most of the examples here don't work as fgets only returns the first line of the CSV file.
Eiither use fgets in a loop or use stream_get_contents to get the entire CSV file.