You are using single quotes, either do
$message = 'html '. $some_var . ' .';
or
$message = html . $some_var .; // using double quotes
Clint Tredway wrote:
I am trying to send an email with form vars inside it but I cannot seem
to get the vars to be parsed.
Here is my code:
/*
Seems to me that you are missing the opening and closing PHP tags (??)
Quoting Clint Tredway [EMAIL PROTECTED]:
### I am trying to send an email with form vars inside it but I cannot seem
### to get the vars to be parsed.
###
### Here is my code:
### /* message */
###
Tredway
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Help with variables in email
Seems to me that you are missing the opening and closing PHP tags (??)
Quoting Clint Tredway [EMAIL PROTECTED]:
### I am trying to send an email with form vars inside it but I cannot
seem ### to get the vars
On Monday 18 November 2002 23:19, Clint Tredway wrote:
I just pulled out the code that I needed help with.
I did as was suggested before and now it only outputs to the first
variable.
### td.$title./td
You did not do as was suggested.
You need to do something like:
add single quote ['] before and after every dot [.] :
/* message */
$message = '
html
head
titleProducts Purchased:/title
/head
body
5 matches
Mail list logo