note 10755 added to fgetcsv

From: Date: Sat, 20 Jan 2001 16:10:12 +0000
Subject: note 10755 added to fgetcsv
Groups: php.notes 
Request: Send a blank email to php-notes+get-10016@lists.php.net to get a copy of this message
Be warned that, due to a bug in the fgetcsv() function, if your CSV file has the following format: "string1";"string2";"string3" the function will mess up each line that contains a quote tag (e.g., ""this"will fail"). It will then think it contains more quotes than necessary and parse the line incorrectly. http://www.php.net/manual/en/function.fgetcsv.php

« previous php.notes (#10016) next »