解析错误:语法错误、意外 (T_ENCAPSED_AND_WHITESPACE)、预期"-"或标识符 (T_STRING) 或变量 (T_VARIABLE)



完整错误:分析错误:语法错误,意外的"(T_ENCAPSED_AND_WHITESPACE(,在C:\examplep\htdocs\Source Code\displaysalesdetailed.php的第48行中应为"-"或标识符(T_STRING(或变量(T_VARIABLED(或数字(T_NUM_STRING(

这是我在那里的东西:

$msgtocustomer = "You have sent purchase request for - $rsproduct[title]. To check the quality of the produce,
you can contact $rsseller[
seller_name] at $rsseller[mobile_no]. Farmer's Address: $rsseller[seller_address], $rs13city[city], 
$rs12state[state], $rs1country['country'].  ";

使用此

$msgtocustomer = "You have sent purchase request for - {$rsproduct['title']}. To check the quality of the produce,
you can contact {$rsseller['
seller_name']} at {$rsseller['mobile_no']}. Farmer's Address: {$rsseller['seller_address']}, {$rs13city['city']}, 
{$rs12state['state']}, {$rs1country['country']}.  ";

最新更新