Re: fgetcsv and end of line in values

From: Date: Fri, 08 Nov 2002 12:00:43 +0000
Subject: Re: fgetcsv and end of line in values
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-123354@lists.php.net to get a copy of this message
i solved my prob with the latest stable snap. php 4.2.4. svenie@gmx.li wrote in news:20021107092154.13278.qmail@pb1.pair.com: > greetings, > > i have problems using fgetcsv to explode a .csv file. some values > consist of line-breaks. although these values are enclosed by quotes, > php recognizes the line-break and starts a new dataset. > > the script workes fine in my old environment (win2k, apache 1.3.23, > php 4.1.1), the problem occures in my new environment (win2k, apache > 2.0.43, php 4.3.0). maybe config-params? > > i mentioned a new enclusure-attribute in fgetcsv since php 4.3.0. but > experimenting with this didn't succeed. i also tried some different > syntaxes in the delimiter-attrib of fgetcsv, no success. > > does anybody have any suggestion? > > thx. >

« previous php.general (#123354) next »