rscott7706 Posted January 18, 2007 Share Posted January 18, 2007 Hi all, hope this is a simple one - I need to put the $msg items on separate lines. All the info now appears as one long line.Can anyone help?$email_admin = "[email protected]";$headers = 'From: Admin <[email protected]>';$subject = $userid . "needs to be activated";$msg = $email . " needs to be activated.";$msg .= " Of $company . ";Thanks!! Link to comment https://forums.phpfreaks.com/topic/34668-hard-returns-between-lines/ Share on other sites More sharing options...
Jessica Posted January 18, 2007 Share Posted January 18, 2007 add "\n" to break the line.Or send it as HTML. Lookup the mail function at php.net/mail Link to comment https://forums.phpfreaks.com/topic/34668-hard-returns-between-lines/#findComment-163377 Share on other sites More sharing options...
rscott7706 Posted January 18, 2007 Author Share Posted January 18, 2007 Worked perfectly - thanks!! Link to comment https://forums.phpfreaks.com/topic/34668-hard-returns-between-lines/#findComment-163424 Share on other sites More sharing options...
rscott7706 Posted January 18, 2007 Author Share Posted January 18, 2007 I must be blind, I don't see a "solved" link anywhere!! Link to comment https://forums.phpfreaks.com/topic/34668-hard-returns-between-lines/#findComment-163426 Share on other sites More sharing options...
Jessica Posted January 18, 2007 Share Posted January 18, 2007 The update to the forum removed it. Plus, you can no longer edit posts after time, so you can no longer mark as solved. *shakes fist* Link to comment https://forums.phpfreaks.com/topic/34668-hard-returns-between-lines/#findComment-163438 Share on other sites More sharing options...
rscott7706 Posted January 18, 2007 Author Share Posted January 18, 2007 Thanks... I will just place a "resolved" reply like I did here.Keep smiling!! Link to comment https://forums.phpfreaks.com/topic/34668-hard-returns-between-lines/#findComment-163770 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.