私は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