FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


Unexpected T_STRINGS *Resolved*





polly-gone
EDIT: I have resolved the problem... It turns out that I forgot an ' in an earlier line and It was causing and error here. I am an idiot. Please close.

-Nick Embarassed Embarassed Embarassed Embarassed

----------------------
Why does this not work. I keep getting unexpected T_STRINGS with a ',' or ';' expected.

Code:
$message = '$username,\nThank you for signing up for the ***********! Please click the following link to confirm your account.\n\nCONFIRMATION LINK: <a href="http://*******************.com/register.php?confirm=$randomString">http://**************.com/register.php?confirm=$randomString </a>\n\n\n----------\n\nTSL Marketplace Team';

$message = wordwrap($message, 70);

mail($email,'************* Confirmation',$message,$from);


(I have censored the website name since it is yet to be opened! Need to keep it secret for now!)

-Nick Smile Smile Smile
rvec
-close-
Related topics
Points and FRIH$ -- RESOLVED --
[RESOLVED]Resend Account Details Please!
PhpBB Ranks <RESOLVED>
Resolved
Parse error: syntax error, unexpected '{' in /home/frih/publ
An unexpected paradox
unexpected T_VARIABLE, expecting
Resolved
Why "unexpected T_ENCAPSED_AND_WHITESPACE"?
Parse error: syntax error, unexpected T_NEW
Domain Controller issues
Ramayana by Bill Gates
Need help with This ASAP!
ERROR: unexpected '<' in
This topic is locked: you cannot edit posts or make replies.    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.