Hi,
I would like to display the variable $name right after the words thank you in the body of this html email. I appreciate any help. THanks
$name = $REQUEST['txtname'];
$message = '
<html>
<head>
<title>Welcome to Meadowbrook Pointe!</title>
</head>
<body><center>
<font size="2" face="Geneva, Arial, Helvetica, sans-serif">
<img src=" border=5><br><br>
Thank you $name for visiting...
</body>
</html>';
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
mail($to, $subject, $message, $headers);
I would like to display the variable $name right after the words thank you in the body of this html email. I appreciate any help. THanks
$name = $REQUEST['txtname'];
$message = '
<html>
<head>
<title>Welcome to Meadowbrook Pointe!</title>
</head>
<body><center>
<font size="2" face="Geneva, Arial, Helvetica, sans-serif">
<img src=" border=5><br><br>
Thank you $name for visiting...
</body>
</html>';
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
mail($to, $subject, $message, $headers);