Re: Storing text with carriage returns in MySQL

From: Date: Thu, 15 Jul 2004 20:34:38 +0000
Subject: Re: Storing text with carriage returns in MySQL
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-190626@lists.php.net to get a copy of this message
Umm this is very weird - I've checked the database and the string is only stored upto the first carriage return everything else appears to be missing, BUT, when I display it in the webpage (using stripslashes()) the entire original message is intact - but on a single line!!! :S On 15 Jul 2004, at 21:28, Vail, Warren wrote:
Perhaps you have another problem. Do you have PHPMyAdmin access to the database? Could it be that your string is being stored OK, and the problem is on the retrieval end? Warren Vail


« previous php.general (#190626) next »