RE: [PHP] Storing text with carriage returns in MySQL
| From: | Vail, Warren | Date: | Thu, 15 Jul 2004 20:44:17 +0000 |
| Subject: | RE: [PHP] Storing text with carriage returns in MySQL | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-190629@lists.php.net to get a copy of this message | ||
Is your form method POST or GET, I know the browser will strip out returns,
etc for a GET? Grabbing at straws here.
Warren Vail
-----Original Message-----
From: Matthew Sims [mailto:matt@killermookie.org]
Sent: Thursday, July 15, 2004 1:44 PM
To: php-general@lists.php.net
Subject: Re: [PHP] Storing text with carriage returns in MySQL
> 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
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php