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