Square1 wrote:Not quite sure about using "\r\n" line breaks. They are not working in the following example (Windows 2008 server BTW).
Of course they are - try your code out from the CLI or view the source of the page in your web browser if you don't believe me.
Square1 wrote:Or should I be using "<br />"?
Well that depends, do you want a line break in the raw data you are outputting (which, like other whitespace, is ignored in HTML code) or did you want an actual line break in the rendered HTML document (which is what the <br> entity is for)?