Re: textarea new line to mysql database

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

 



On 5/15/09 10:12 AM, "Stuart" <stuttle@xxxxxxxxx> wrote:

> What's your problem with using nl2br?

it's not multibyte safe. if you're using mb strings, e.g. for utf8 pages and
forms, then use preg_replace (with the u modifier) instead of ml2br



-- 
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