Hi, I have been following along with the "Colored Lists: Creating A Web App From Scratch" tutorial and I got an error message when trying to test sign up for an account. What's supposed to happen is a member submits his/her email and then a verification message is send to the supplied email address. When I put in my email and clicked the submit button I got this error:
Parse error: syntax error, unexpected T_STRING in .... on line 64
(PS the dots are added by me)
Here are lines starting at 60:
if(!$this->sendVerificationEmail($u, $v)) {
return "<h2> Error </h2>"
. "<p> There was an error sending your"
. " verification email. Please "
. "<a href="mailto:team@example.com<script type="text/javascript">
/* <![CDATA[ */
(function(){try{var s,a,i,j,r,c,l=document.getElementById("__cf_email__");a=l.className;if(a){s='';r=parseInt(a.substr(0,2),16);for(j=2;a.length-j;j+=2){c=parseInt(a.substr(j,2),16)^r;s+=String.fromCharCode(c);}s=document.createTextNode(s);l.parentNode.replaceChild(s,l);}}catch(e){}})();
/* ]]> */
</script>">contact "
. "us</a> for support. We apologize for the "
. "inconvenience. </p>";
}
Please help and thanks for taking a look.