2
<div class="username-info-area">
<img src="https://image5.sahibinden.com/users/47/06/46/p200_profile_14470646_8126809.png" class="user-profile-photo" height="50" width="50" alt="">
<h5>familya yapı Gayrimenkul Gyo ltd şti</h5>
</div>
我想獲取h5數據。 我可以訪問div.username-info-area。HTML DOM解析器獲取內部h5數據
$items = $new_data->find('div.username-info-area', 0)->outertext;
echo $items . '<br>';