Getting to many returns when creating a text file

From: Date: Tue, 08 May 2001 16:31:07 +0000
Subject: Getting to many returns when creating a text file
Groups: php.general 
Request: Send a blank email to php-general+get-51933@lists.php.net to get a copy of this message
Hi all, I have a website which allows users to send comments, these are saved into a mySQL DB. I then use php to create a text file with all these on, that can then be easily imported into MS Access. But, it appears that the users type in a lot of character returns as well as such symbols as " and commas. Is there a way, when creating the text file, to get rid of all these? Thanks in advance, Also I am only on the digest list so if you could email to me as well as the list, I'd be very grateful. Cheers Sam Rose

« previous php.general (#51933) next »