note 25949 rejected from function.ereg by victor

From: Date: Sat, 12 Oct 2002 10:27:26 +0000
Subject: note 25949 rejected from function.ereg by victor
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-37972@lists.php.net to get a copy of this message
I wish to parse a CSV file and store each field into a column of MySQL. Everything works until I come across a column which have a new line character (created by pressing the <Enter> key in the texts). Does anyone know do I get ereg to detects these new line characters and delete them please.

« previous php.notes (#37972) next »