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 = "admin@xxx.org";$headers = 'From: Admin <admin@xxx.org>';$subject = $userid . "needs to be activated";$msg = $email . " needs to be activated.";$msg .= " Of $company . ";Thanks!! Quote Link to comment 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 Quote Link to comment Share on other sites More sharing options...
rscott7706 Posted January 18, 2007 Author Share Posted January 18, 2007 Worked perfectly - thanks!! Quote Link to comment 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!! Quote Link to comment 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* Quote Link to comment 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!! Quote Link to comment 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.