Hello everyone,
Just can't imagine what happens. There is the simplest function in the

function LineBreaks ($str) {
$what=array("\r\n", "\n", "\r");
$str=str_replace($what, $with, $str);
return $str;

And... it does work on one site and doesn't on another. Same hosting
provider, same settings, all the same.
When I call
Nothing happens. Yes, it does see \r\n's but it doesn't replace them
with <br>'s. Tried built-in nl2br(), but no result...
Thank you!..

With best regards from Ukraine,
Http://oire.org/ - The Fantasy blogs of Oire
Skype: Francophile; Wlm&MSN: arthaelon @ yandex.ru; Jabber: arthaelon @ 
Yahoo! messenger: andre.polykanine; ICQ: 191749952
Twitter: http://twitter.com/m_elensule

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

Reply via email to