我正在阅读 xml 文件
<area>this this</area>
阅读 PHP 代码:
$xmlhotels = array();
foreach ($filtered as $hotel) {
$xmlhotels[] = array(
'area'=>(string)$hotel->area,
// assume other stuff here...
);
}
echo"
",$villa['area'],"
";
我得到的回声结果是:
this this
我需要回声:
this+this