Hi,
I am getting the following error when I try to submit registration on my website. Am not able to figure out the issue. Any help is greatly appreciated.
Parse error: syntax error, unexpected T_STRING in /home/content/t/h/i/thinkvirtual/html/includes/registration_mail.php on line 3
The code on registration_mail.php is
<?php
$message="<body>
<div align=¥"center¥">
<table bgcolor=¥"#eaeaea¥" border=¥"0¥" cellpadding=¥"10¥" cellspacing=¥"0¥" width=¥"600¥">
<tr>
<td>
<table bgcolor=¥"#ffffff¥" border=¥"0¥" cellpadding=¥"10¥" cellspacing=¥"0¥" width=¥"580¥">
<tr>
<td>
<table border=¥"0¥" cellpadding=¥"0¥" cellspacing=¥"0¥" width=¥"560¥">
<tbody>
<tr>
<td align=¥"left¥" valign=¥"top¥" height=¥"90¥" style=¥"border-bottom:#e0e0e0 1px solid;¥"><img src=¥"".SITE_URL."/images/logo.jpg¥" alt=¥"iElixir¥" hspace=¥"5¥" title=¥"iElixir¥" /></td>
</tr>
<tr>
<td align=¥"center¥" height=¥"300¥" style=¥"font-family: Arial, Verdana, Helvetica, sans-serif;
font-size: 12px; color: #365f91;¥" valign=¥"top¥">
<table border=¥"0¥" cellpadding=¥"0¥" cellspacing=¥"0¥" width=¥"540¥">
<tr>
<td align=¥"left¥" colspan=¥"2¥" height=¥"30¥">
<table border=¥"0¥" cellpadding=¥"0¥" cellspacing=¥"0¥" width=¥"540¥">
<tr>
<td align=¥"left¥" colspan=¥"2¥" height=¥"30¥" valign=¥"top¥" style=¥"font-weight: normal; font-size: 13px; color: #365f91; font-family: Arial, Verdana, Helvetica, sans-serif¥">
<br /><strong>Dear $fName $lName</strong>,<br /><br />
Please click below to activate your account.<br /><br />
<a href=¥"".SITE_URL."/activate.php?id=$activateid¥"> ".SITE_URL."/activate.php?id=$activateid</a>
<br /><br />If you are unable to open the link by clicking, please copy and paste the link in your browser.
<br /><BR><BR>
<BR>Administrator<BR><a href=¥"http://www.iElixir.com¥">www.iElixir.com</a><BR>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</table>
<table border=¥"0¥" cellpadding=¥"0¥" cellspacing=¥"0¥" width=¥"100%¥">
<tr>
<td height=¥"8¥" width=¥"10¥"> </td>
<td align=¥"left¥" height=¥"30¥" style=¥"font-family: Arial, Tahoma, Verdana, Helvetica, sans-serif;
font-size: 11px; color: #444444;¥">ゥ Copyright 2010 Think Virtual, LLC. All rights reserved.
</td>
<td align=¥"left¥" valign=¥"bottom¥">
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</body>";
// To send HTML mail, the Content-type header must be set
$rsAdminEmail = $user->adminDetail();
$fromMail = $rsAdminEmail;
$toMail = $_REQUEST["email"];
$subject = "iElixir.com: Activation Mail ";
$headers = 'MIME-Version: 1.0' . "¥r¥n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "¥r¥n";
$headers .= 'From: '.$fromMail. "¥r¥n";
mail($toMail, $subject, $message, $headers);
header("location:registration.php?mesg=1");
$uName = "";
$password = "";
$email = "";
$address = "";
$fName = "";
$lName = "";
$state = "";
$city = "";
$country_id = "";
$weblink = "";
$user_type = "";
?>