[eluser]solid9[/eluser]
I'm trying to incorporate a variable $code,
below is the codes,
Code:
$subject = 'reset password account';
$message = '
<html>
<head>
<title>Reset password account</title>
</head>
<body>
<b>Copy and paste the code below </b>
<br><b>Code: </b><?php $code ?>
<br><br>
<b>Please click the link below to reset your password </b>
<br>
<a href="http://www.sample.com/main/reset_password_final/">Reset your password here.</a>
But unfortunately it's not showing up in the email?
What is the right way to incorporate a variable into email?
Thanks in advanced.