Re: new lines in text fields
| From: | rick | Date: | Fri, 06 Jul 2001 15:10:10 +0000 |
| Subject: | Re: new lines in text fields | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-56502@lists.php.net to get a copy of this message | ||
Have you tried putting the newline character (\n) into your html? That
works great for me. My only problem is that the output from an XSL
transformation has all the line breaks stripped out...
----- Original Message -----
From: "Mat Marlow" <mat@cryptic.co.uk>
To: <php-general@lists.php.net>
Sent: Friday, July 06, 2001 8:06 AM
Subject: [PHP] new lines in text fields
> Hi all,
> I am in desperate need for a solution to HTML text fields not storing new
> lines. I'm storing news articles in a database but all the text just ends
up
> in a big block because it ignores line breaks. Is thre a way around this
> without having to upload text files?
>
> Thanks,
>
> Mat
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>