You are here: Re: An Easy One for you all « All PHP « IT news, forums, messages
Re: An Easy One for you all

Posted by -Lost on 04/09/07 02:56

"Vince Morgan" <vinhar@REMOVEoptusnet.com.au> wrote in message
news:4618490c$0$16558$afc38c87@news.optusnet.com.au...
> "MS" <MS@nospam.com> wrote in message news:kI-dnT5M7Z06V4rbRVnyiQA@bt.com...
>> "Tyno Gendo" <user@example.com> wrote in message
>> news:PyPRh.45914$kF3.14708@fe1.news.blueyonder.co.uk...
>> > <?php
>> > $text="This is a line\r\nwith carriage\r\nreturns\r\nin it";
>> > echo "<pre>$text</pre>";
>> > $nocr=preg_replace("/\r\n/"," ",$text);
>> > echo "<pre>$nocr</pre>";
>> > ?>
>>
>> Thanks Guys.
>>
>> I had a Mind Block on this one !! I knew about the Trim() limits, except
>> for today !!
>>
>>
> Don't you just hate that. I had a "Mind Block" in about 1996, and I
> hope/expect it will end one day soon :)

Stop taking acid! : )

-Lost

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация