I am having an issue with a php script.?

damdempsel

New member
Ok so I downloaded a few php files that are like a registration kind of thing for a site. Now I got it to make the tables but for some reason the confirmation email doesn't work. I get a error when I try to go to the site to sign up saying: Parse error: syntax error, unexpected T_STRING in /home/a3035249/public_html/login/validation.php on line 62. Now the email is in html. and the line 62 is just the opening of a title. If you delete the line it will say 61 has a error, and so on. So how can I get it to work? Is there a different way I can send a confirmation email? Here is the code for the email.

//********* Confirmation e-mail
/* subject */
$subject = "Account confirmation";

/* message */
$message = '
<html>
<head>
<title> Account Confirmation </title>
</head>
<body>
Hello '.$nom.',<br/><br/>

You are receiving this e-mail because you or someone else used your e-mail address to sign up on the Blood Army clan's site.<br/>
To complete the sign-up process please follow <a href="'.$page.'?code='.$session.'">this link</a>.<br/><br/>

If you didn't sign up on our site, just ignore this message and please accept our apologies.<br/>
You can also choose to blacklist your e-mail so you won't hear from us anymore by following <a href="'.$page.'?code='.$session.'&BL=1">this link</a>.<br/>
Your e-mail was submitted from IP '.$IP.' on '.date("r").' (server time).

This is a automatic message so please do not reply to this e-mail address as it could cause problems with the server.<br/><br/>

Best regards,<br/>
Damdempsel and the Blood Army crew.
</body>
</html>
';

It goes on a bit farther but this is really all you should need. The line where it says <title> Account Confirmation </title> is line 62. So can anyone figure out the problem?
 
Parse error: syntax error, unexpected T_STRING usually means that you forgot to close the previous line.

So for example:
$something = ""
$somethingelse = "";
?>
<title>

Or something to the equivalent of the above. Check the next line up for a missing semi-colon or something else that could be missing.
 
Parse error: syntax error, unexpected T_STRING usually means that you forgot to close the previous line.

So for example:
$something = ""
$somethingelse = "";
?>
<title>

Or something to the equivalent of the above. Check the next line up for a missing semi-colon or something else that could be missing.
 
Parse error: syntax error, unexpected T_STRING usually means that you forgot to close the previous line.

So for example:
$something = ""
$somethingelse = "";
?>
<title>

Or something to the equivalent of the above. Check the next line up for a missing semi-colon or something else that could be missing.
 
Back
Top