Ignoring carriage returns from data field

From: Date: Fri, 13 Aug 2004 18:54:28 +0000
Subject: Ignoring carriage returns from data field
Groups: php.general 
Request: Send a blank email to php-general+get-193745@lists.php.net to get a copy of this message
I am creating a datadump to a csv file and have noticed that text fields that contain carriage returns are causing trouble when opening the csv file in an Excel spreadsheet. I'm sure there's a away to ignore those extra characters but for the life of me I can't recall what it is. Anyone know how this is done? Thanks

« previous php.general (#193745) next »