How can I take the text from a textarea (html) and insert line breaks. Right now, if I input info to send out as an e-mail, it puts all the text on the same line without any line breaks.
Using $_POST[‘field’] to get the data from the form and sending using PHP mail.
use \n for new line, or \r\n for return followed by new line
ie.
ie. to replace
html tag with newline:
alternativly set the email you are sending out to be html encoded (add html header)