Re: Re: More mail() questions.
| From: | 1LT John W. Holmes | Date: | Tue, 26 Nov 2002 14:57:22 +0000 |
| Subject: | Re: Re: More mail() questions. | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-126095@lists.php.net to get a copy of this message | ||
> Thanks for the reply, however, that will not work. The only line breaks
you
> may get with that are those layed out in a text box or from your mail
> client. What if I have other variables that need to be put in the body of
> the email.
>
> i.e.
>
> Age: 16
> Height: 168
> Weight: 120
> etc
> etc
> etc.
>
> These are variables that the user inputs into a form and need to be on a
> seperate line, so if I did $message = "$age, $weight, $height, etc." they
> would appear on the same line - I need to have them on separate lines.
So do this:
$message = "
Here is your email:
Age: $age
Height: $height
Weight: $weight
etc
etc
etc... ";
---John Holmes...