"April" <[EMAIL PROTECTED]> wrote:
> Your ''s in your strings are the problem. They need to be escaped, or
they
> will create a parse error.
Not true. They (quotes inside a string) only need to be escaped if they are
the same style as the quotes enclosing the string. And for those that don't
k
d'oh! I knew it was something simple.
Thanks
-Original Message-
From: Jon Haworth [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 07, 2001 10:42 AM
To: 'Angerer, Chad'; '[EMAIL PROTECTED]'
Subject: RE: [PHP] newbie mail() function
You're missing a
Your ''s in your strings are the problem. They need to be escaped, or they
will create a parse error.
Instead of
$msg = "Sender's Full Name:\t$user_name\n";
you should have
> $msg = "Sender\'s Full Name:\t$user_name\n";
- Original Message -
From: "Angerer, Chad" <[EMAIL PROTECTED]>
To:
You're missing a semicolon on line 8.
HTH
Jon
-Original Message-
From: Angerer, Chad [mailto:[EMAIL PROTECTED]]
Sent: 07 February 2001 16:37
To: [EMAIL PROTECTED]
Subject: [PHP] newbie mail() function
Hello!
I am very new to php programming. I have been experimenting around with
ph
"Angerer, Chad" <[EMAIL PROTECTED]> wrote:
> $mailheaders = "From: My Web Site\n"
> 9>$mailheaders .= "Reply-To: $email_address\n\n";
>
> mail("[EMAIL PROTECTED]", "Feedback Form", $msg, $mailheaders);
>
> echo ("Thank you $user_name\n");
> echo ("I appreciate your feedback\n\n");
>
> ?>
>
> for s
5 matches
Mail list logo