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"; Quote 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>"; Quote 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. Quote 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 >"; Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.