Re: Fils_CSV patch

From: Date: Fri, 17 Oct 2003 20:31:22 +0000
Subject: Re: Fils_CSV patch
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-22776@lists.php.net to get a copy of this message
On Friday, Oct 17, 2003, at 15:22 US/Central, Wolfram Kriesing wrote:
i got a patch for the File/CSV.php. It enables reading files of differing number of columns on each line, which sometimes happens when you get some "ugly" data ... I added a comment to show how to use this feature. If you want me to commit it i can do it, otherwise feel free to apply the patch.
And while we're at it... I submitted this additional method for File_CSV a few months ago, but haven't seen it in any new packages for File_CSV. It parses a string variable according to the File_CSV readQuoted() rules (instead of parsing a file); this is useful, for example, when CSV-formatted data is stored in a table. See the attached file; if you could include it in the next File_CSV package, that'd be real nice. :-) -- pmj

Attachment: [application/applefile] File_CSV_parse.php
Attachment: [application/text] File_CSV_parse.php
« previous php.pear.dev (#22776) next »