You are here: Re: Keeping the formatting of text « PHP Programming Language « IT news, forums, messages
Re: Keeping the formatting of text

Posted by Ian Davies on 08/04/06 23:42

Thank you everyone that has given me a number of options to try


"Geoff Berrow" <blthecat@ckdog.co.uk> wrote in message
news:24l6d2ljjarabg8pp3f1t7elfmgq3ud17l@4ax.com...
> Message-ID: <2488b$44d336b6$8259c69c$5808@news2.tudelft.nl> from Rik
> contained the following:
>
> >> Except that it's not always \n
> >
> >preg_replace('/(\r\n|\r|\n)/','<br>',$string);
>
> Nice one Rik. :-)
>
> --
> Geoff Berrow (put thecat out to email)
> It's only Usenet, no one dies.
> My opinions, not the committee's, mine.
> Simple RFDs http://www.ckdog.co.uk/rfdmaker/

 

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

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