It should be storing them unless you are doing something to the data before
inserting it into the database.  Have you tried outputting the data through
nl2br() ?http://www.php.net/manual/en/function.nl2br.php

Ethan Schroeder

----- Original Message -----
From: "Ciaron Nixon" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, May 13, 2001 9:22 AM
Subject: [PHP] multiline text areas and mysql doesn't work :(


> I'm trying to insert the conents of a submitted textarea into a field of a
> db but it seems to be stripping the control characters or not fomatting
them
> properly. The record updates fine but when I display it all the newlines
are
> gone ie the whole field appears on 1 line.
> Any ideas how to get it to store the control chars?
>
> -Ciaron
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to