Chào mọi người hiện tại e đang làm 1 website có chức năng lấy thông tin từ 1 trang web khác để hiển thị trên trang web của m. E đã lấy được source của web kia bằng hàm file_get_contents. Giờ e muốn lấy thông tin. Đây là 1 đoạn trong source e cần lấy
</div></a><p class="summary"><b>Bien Hoa 1 – 3 Day Weather Forecast Summary:</b><span class="read-more-small"><span class="read-more-content"> <span class="phrase">Light rain (total 8mm), mostly falling on Thu afternoon. Warm (max 33°C on Fri morning, min 24°C on Fri night). Wind will be generally light.</span></span></span></p><div class="forecast-cont"><div class="units-cont"><a class="units metric active">°C</a><a class="units imperial">°F</a></div>
giờ e muốn tách đoạn “Light rain (total 8mm), mostly falling on Thu afternoon. Warm (max 33°C on Fri morning, min 24°C on Fri night). Wind will be generally light.” ra thì phải làm thế nào ?
83% thành viên diễn đàn không hỏi bài tập, còn bạn thì sao?