Page 1 of 1

textarea all on 1 line

Posted: Wed Mar 03, 2010 2:09 pm
by me666
hi, have a text area that saves the info into mysql table and emails it to me... but in the email (html format) att the text come on 1 line replacing the return key presses with a space, how would i change this so it actually prints it to email on separate lines?
thanks :)

Re: textarea all on 1 line

Posted: Wed Mar 03, 2010 2:32 pm
by requinix
Use nl2br.