use \ n for a new line or \ r \ n for a return followed by a new line
t
<?php
printf("This is the first line. \n");
printf("This is the second line");
?>
i.e. replace the html tag with a new line:
str_replace ('<br>' , '\r\n', $_POST['field'])
alternatively configure the email you sent for html encoding (add html header)
Chris source
share