I can't get wordwrap to work.
Are the characters that force line feeds and carriage returns standard ?
I am working with a xml persisted from SQL Server.
What code are you using? Line breaks won't show up in HTML, you have to use <BR> instead...
---John Holmes...
So I need to identify the carriage return code (presumably \r) and replace it with a <br> ?
In unix, a linefeed is \n, in windows, it's \r\n. You can use nl2br($string) to add in a <BR> wherever there is a \n...That will work.