Hello everyone, Just can't imagine what happens. There is the simplest function in the world: function LineBreaks ($str) { $what=array("\r\n", "\n", "\r"); $with=array("<br>"); $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 $_POST['uwork']=LineBreaks($_POST['uwork']); 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, Andre Http://oire.org/ - The Fantasy blogs of Oire Skype: Francophile; Wlm&MSN: arthaelon @ yandex.ru; Jabber: arthaelon @ jabber.org 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