DirtySnipe Posted April 24, 2008 Share Posted April 24, 2008 How do i start a new line in a plain txt email from a php form? I want the following to each start on a new line to make reading easyier $mes .= "$Name"; $mes .= "$House"; $mes .= "$Department"; $mes .= "$Description"; Link to comment https://forums.phpfreaks.com/topic/102699-solved-how-to-start-new-line-in-email-from-phpform/ Share on other sites More sharing options...
DeanWhitehouse Posted April 24, 2008 Share Posted April 24, 2008 put <br> after the message eg. $mes .="$Name<br>"; Link to comment https://forums.phpfreaks.com/topic/102699-solved-how-to-start-new-line-in-email-from-phpform/#findComment-525918 Share on other sites More sharing options...
DirtySnipe Posted April 24, 2008 Author Share Posted April 24, 2008 Cool tnxs. I didnt think you could do that but yay it works. Link to comment https://forums.phpfreaks.com/topic/102699-solved-how-to-start-new-line-in-email-from-phpform/#findComment-525923 Share on other sites More sharing options...
DeanWhitehouse Posted April 24, 2008 Share Posted April 24, 2008 np, btw the code was ment to be this $mes .="$Name< br >"; Link to comment https://forums.phpfreaks.com/topic/102699-solved-how-to-start-new-line-in-email-from-phpform/#findComment-526044 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.