Send_mail function
| From: | David Tandberg-Johansen | Date: | Fri, 11 Aug 2000 15:23:52 +0000 |
| Subject: | Send_mail function | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-11341@lists.php.net to get a copy of this message | ||
Hallo All!!
I am trying to send a mail to an different mail acount based on which
variable $chr has, but it seems to only go strait to the last ELSE and
print.
Could anyone please give me som feedback,....Thank's
************************************
function send_mail()
{
if ($chr == "A")
{
send_to_me();
}
elseif ($chr == "B|C|D")
{
send_to_you();
}
else
{
print("The are no characters to report");
}
}
************************************