: CSV export
| From: | Kai Poppe | Date: | Fri, 22 Aug 2003 11:42:48 +0000 |
| Subject: | : CSV export | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-160412@lists.php.net to get a copy of this message | ||
Hello NG !
I'm trying to export database entries to a CSV file for Excel.
Everything's working perfectly except that "blob" (long-text) fields that
contain line-breaks are being exported to different lines within the CSV. I
can't figure out how to convert the \n's respectively chr(13).chr(10) into
chars that tell Excel to accept a multi-field but not line-break within the
file itself.
Greetings
Kai