RE: [PHP-DB] Re: form results to email
| From: | Vincent Jordan | Date: | Sat, 31 Jul 2004 15:25:16 +0000 |
| Subject: | RE: [PHP-DB] Re: form results to email | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-35503@lists.php.net to get a copy of this message | ||
>I wrote this, $message is not displaying. What am I doing wrong??
Nevermind. I forgot to add method="post" to the html page.
I have gotten it to work however I would like to add some formatting to
the email. Sent. I currently have:
$message = "$firstname $lastname .....";
mail("support@extendedpop.com", "RMA Request", $message);
I have tried to add some html such as "<strong>$firstname $lastname
</strong>......."; however when I do this there is nothing displated in
the email message.
I have also tried $message = echo "<strong>$firstname $lastname
</strong>......."; and got errors.
So then I figured I would try a function. And tried this:
Function prtmsg() {
echo "<strong>$firstname $lastname </strong>.......";
}
$message = prtmsg();
and again I get a bland email returned. Could someone kindly point out
what im missing?
Thanks Vinny