STRING错误

在螳螂配置自定义字段时,我得到了这个错误消息,任何想法

解析错误:语法错误,第3行中的C: wamp www MyProj custom_strings_inc.php中出现意外的T_STRING

代码是

<?php
if( lang_get_current() == 'german' ) {
    $defect_impact = 'Defect Impact'; #// German translation of Defect Impact
    $defect_type =  'Defect Type'; #// German translation of Defect Type
    $phase_of_origin =  ’Phase Of Origin’; #// German translation of Phase Of Origin
}else{
# Default (use your preferred language as the default)
    $defect_impact = 'Defect Impact'; // German translation of Defect Impact
    $defect_type =  'Defect Type'; // German translation of Defect Type
    $phase_of_origin =  'Phase Of Origin'; // German translation of Phase Of Origin
}
?>

此行上的错误引号:

$phase_of_origin =  ’Phase Of Origin’;

应该:

$phase_of_origin =  'Phase Of Origin';
链接地址: http://www.djcxy.com/p/11979.html

上一篇: STRING error

下一篇: Troubleshooting "parse error, unexpected '>'" error