Re: newbie mail() function
| From: | Steve Werby | Date: | Wed, 07 Feb 2001 16:39:37 +0000 |
| Subject: | Re: newbie mail() function | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-38560@lists.php.net to get a copy of this message | ||
"Angerer, Chad" <cangerer@ibsys.com> wrote:
> $mailheaders = "From: My Web Site\n"
> 9>$mailheaders .= "Reply-To: $email_address\n\n";
>
> mail("cangerer@ibsys.com", "Feedback Form", $msg, $mailheaders);
>
> echo ("Thank you $user_name\n<br>");
> echo ("I appreciate your feedback\n\n");
>
> ?>
>
> for some reason I get a parse error on line 9. If I remove the
mailheaders
> variables the PHP script works
Oops! You're missing the semicolon ";" at the end of line 8. Problem
solved.
--
Steve Werby
COO
24-7 Computer Services, LLC
Tel: 804.817.2470
http://www.247computing.com/