I've have a problem that I was hoping the folks here at PHP Builder can help me with. I need to send a mail message that contains a string that is built up from a whole bunch of information that I've pulled from a database. My question is this: how do I insert carriage returns so that my info is formatted properly in the mail message. Here's an example:
I've got three fields: $Name, $email, $member_id. I want to send the person an e-mail that says:
Your name is $Name
Your e-mail address is $email
Your membership number is $member_id.
How do I build the string that gets sent out as part of the mail() command so that the line breaks are put in there. I've been searching and can't figure it out.