fgetcsv and end of line in values

From: Date: Thu, 07 Nov 2002 09:21:54 +0000
Subject: fgetcsv and end of line in values
Groups: php.general 
Request: Send a blank email to php-general+get-123160@lists.php.net to get a copy of this message
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 (#123160) next »