Ciao.
Penso che la funzione nl2br vada bene. Leggi questa pillola

http://forum.html.it/forum/showthrea...hreadid=228487