Brent, et al --

...and then Brent Baisley said...
% Why not just use the nl2br() function? It's a lot easier that using any 

Because it doesn't do what I need.  From the Fine Manual:

  nl2br --  Inserts HTML line breaks before all newlines in a string
  string nl2br ( string string)
  Returns string with '<br />' inserted before all newlines.

I don't want to simply add a <br>; I want to *replace* the newline (and
return, as we found out in a subthread).

% replace function you build yourself.

Except that it doesn't work :-)

Thanks & HAND

David T-G                      * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]    Shpx gur Pbzzhavpngvbaf Qrprapl Npg!

Attachment: msg78088/pgp00000.pgp
Description: PGP signature

Reply via email to