Webmaster Forum

Go Back   Webmaster Forum > Web Development > Web Design Lobby

Web Design Lobby Forum for general web design issues not specific to scripting or graphics.


Reply
 
Thread Tools Display Modes
Share |
  #1  
Old 02-23-2009, 05:46 AM
2939195631902 2939195631902 is offline
Contributing Member
 
Join Date: 12-14-08
Posts: 140
iTrader: 0 / 0%
Exclamation Adding line break to mail() php.

How do i add line break to email from mail()?
What i currently have, but doesn't work, is having a message string like such:
$message = "There should be a line break after this <br /> asdfasdf";
 
Reply With Quote

Advertisement

Advertisement

  #2  
Old 03-06-2009, 01:57 PM
sssharlasss sssharlasss is offline
Contributing Member
 
Join Date: 02-16-09
Posts: 60
iTrader: 0 / 0%
Use "\r\n" instead of "<br />."

That should do it, I believe.
 
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby

Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
phpld: Email line break (how to?) Deejay Dan Web Directory Issues 0 07-17-2007 12:50 AM
What do you do when you need a break.. SEOclown Forum Lobby 39 05-06-2007 07:03 PM
adding koops mail form to wordpress Charleston Blogging Forum 5 01-09-2007 01:31 AM


V7N Network
Get exposure! V7N I Love Photography V7N SEO Blog V7N Directory


All times are GMT -7. The time now is 04:44 PM.
Powered by vBulletin
Copyright 2000-2014 Jelsoft Enterprises Limited.
Copyright © 2003 - 2018 VIX-WomensForum LLC