解析错误:语法错误,第150行/home/smoto/public_html/contact-us/index.php中的意外T_CLASS

时间:2014-04-07 16:58:02

标签: php

刚刚注意到错误,我看不出问题出在哪里。它引用的第150行是第echoFail to Send...你可以帮帮我吗?

//ADMIN_EMAIL               
    $sendEmail = mail('info@domain.ca, sherri@domain.ca’,$subject,$emailContent,$headers);
    if($sendEmail == 0){
        echo '<p class="cautions">Fail to Send Notification Email to Admin.</p>';
    }else{
        echo '<p class="confirm">Thank you for your interest in iTTTi Vancouver.<br />Your request has been received and you will be contacted within 3 business days.</p>';
    }

1 个答案:

答案 0 :(得分:0)

问题在于邮件功能。你有一个特殊的角色,你打算有一个报价。仔细查看sherri@domain.ca’,语法突出显示为您提供线索。请注意,它会在您开始引用时更改颜色,但不会返回到您期望的正常颜色。