Are you displaying it in a form control, like another TEXTAREA? Or are you displaying say in a table cell?
I know that CR's are ignored by most normal html, unless coded between <pre> and </pre>; Warren Vail -----Original Message----- From: Andrew Wood [mailto:[EMAIL PROTECTED] Sent: Thursday, July 15, 2004 1:40 PM To: php-gen Subject: Re: [PHP] Storing text with carriage returns in MySQL Sorry, its the crap software I'm using to view the DB! phpMyadmin shows that yes, the text is all there with CRs. so it IS something at the display end? any ideas, cos I haven't aclue? cheers AW 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 > > > > -----Original Message----- > From: Andrew Wood [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 15, 2004 1:22 PM > To: php-gen > Subject: Re: [PHP] Storing text with carriage returns in MySQL > > > That only seems to work for quotation marks and apostrophes etc. Not > carriage returns? Unless I'm missing something. > > > On 15 Jul 2004, at 20:23, Vail, Warren wrote: > >> http://www.php.net/manual/en/function.addslashes.php >> >> Warren Vail >> > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php