Marek, et al --

...and then Marek Kilimajer said...
% 
% $string = str_replace("\n", '<br>', $string);

That didn't work for me.  Interestingly enough, in light of Leif's post,
neither did \r\n in the search pattern.  Hmmph.  Well, thank heavens once
again for preg_replace() :-)


Thanks & HAND

:-D
-- 
David T-G                      * There is too much animal courage in 
(play) [EMAIL PROTECTED] * society and not sufficient moral courage.
(work) [EMAIL PROTECTED]  -- Mary Baker Eddy, "Science and Health"
http://justpickone.org/davidtg/      Shpx gur Pbzzhavpngvbaf Qrprapl Npg!

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to