Re: textarea new line to mysql database

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At 11:29 AM -0400 5/15/09, Paul M Foster wrote:
On Fri, May 15, 2009 at 07:19:24AM -0700, PHPScriptor wrote:


 Mja, that's not my intention, in that case I also could use nl2br...

 Why does this problem exists? And why does it work with <pre>? Is this a PHP
 problem or more a HTML problem?

HTML doesn't recognize newlines when it displays text. The <pre> tag
maintains the formatting of your original text, including newlines.
Unfortunately, it also displays text in a monospace font.

Paul


I believe that you can override that with css.

Cheers,

tedd

--
-------
http://sperling.com  http://ancientstones.com  http://earthstones.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux