Re: Storing text with carriage returns in MySQL

From: Date: Thu, 15 Jul 2004 20:43:44 +0000
Subject: Re: Storing text with carriage returns in MySQL
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-190627@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 Magic > > > 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 >> > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.general (#190627) next »