Originally posted by evo4ever
"\n" Gives a new line in your source code, not the actual HTML output. As ceanth found out, use <br/> to make a new line in HTML output. If you want to make your source code readable, put \n after the last character in your string.
A '\n' GIVES a newline in the HTML Output! But not in the interpreted browserview, as you already stated. 🙂
And you have to take into account that UNIX, Windoof and Mac users have different 'newline's (and CR) to do a real newline.
Ever seen the strange boxes at the end of a textfile? They're because Windows, Mac and Unix use either \r\n','\n' or '\r' (don't remember which one uses what exactly...), could also be '\n\r'... 😃
This can lead to funny side-effects when using DBs...