-- G'day ,
I have a basically simple problem the solution to which has eluded me
for several days.
I have a form being handled by a .php file.
I want the received email sent by the form to have as its SUBJECT the
combination of the form name "RVRA Contact Form - " and the MESSAGE
SUBJECT as ch
Michael CALDER wrote:
$Subject = "RVRA Contact Form - ,$MessageSubject";
Can anyone please advise or point me in the right direction for
instructions on how to combine the fixed text with the variable
$MessageSubject.
The quick fix is simply
$Subject = "RVRA Contact Form - ".$MessageSubject;
On 2-3-2013 12:23, Lester Caine wrote:
Michael CALDER wrote:
$Subject = "RVRA Contact Form - ,$MessageSubject";
Can anyone please advise or point me in the right direction for
instructions on how to combine the fixed text with the variable
$MessageSubject.
The quick fix is simply
$Subject = "
On 3/2/2013 7:03 AM, Maciek Sokolewicz wrote:
The problem is the simple fact that the variable $MessageSubject is not
defined until 4 lines farther into the script. Changing the variable to
$_POST['MessageSubject'] (and concatenating using the concatenation
operator (the period: '.' )) should fi
On Sat, Mar 2, 2013 at 5:04 AM, Michael CALDER
wrote:
>
> -- G'day ,
G'day, cobber!
> Here is the current contact2.php file - but the SUBJECT only shows as
> RVRA Contact Form -
Others have addressed that, as well as not needing the stripslashes.
If you will permit, I have a few other comments.
G'day ,
Thanks to you both I have muddled through. The actual answer was
$Subject = "RVRA Contact Form - ".$_POST['MessageSubject'];
I had tried something like that but I used a comma instead of the period.
And, yes, I was getting error messages "Undefined variable" on line 6.
etc but was t
On 3/2/2013 11:56 AM, tamouse mailing lists wrote:
Ah, crikey, syntax error!!
$Body <
should be:
$Body = <
AND... it should have 3 <<< instead of 2 <<
http://www.php.net/manual/en/language.types.string.php \
#language.types.string.syntax.heredoc
--
Jim Lucas
--
PHP General Maili
7 matches
Mail list logo