File_CSV fix
| From: | Dan Allen | Date: | Sun, 07 Jul 2002 01:28:19 +0000 |
| Subject: | File_CSV fix | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-7514@lists.php.net to get a copy of this message | ||
It is an easy fix, in unquote, you just do
str_replace($quote . $quote, $quote, substr($field, 1, -1);
or you replace the first $quote with $escapechar.
Dan
--
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Daniel Allen, <dan@mojavelinux.com>
http://www.mojavelinux.com/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Microsofts's Law of Software Engineering:
Don't worry if it doesn't work right.
If everything did, we'd be out of a job.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -