0

私は次のようなhtml文字列を持っています: <div class="short-description"> <h2></h2> <div class="std"><p>This <strong>1-1/2 in by 25 ft. Deluxe In-Ground Pool Vacuum Hose</strong> fits most in-ground residential and commercial pool cleaning applications. The continuous spiral wound construction of the vacuum hose provides excellent flexibility and strength. The smooth spiral design inner wall also allows for maximum efficiency of water flow.</p><br /><p><em>**Color may be blue or grey**</em></p></div> </div>

私はそれを使用してエンコードし、それを使用htmlentitiesして再度デコードしてhtml_entity_decode 正常にデコードしましたが、Webブラウザーでは次 "<div></div>"のようになります:htmlがページに印刷されます。

これは、htmlがdbテーブルに保存されるエンコーディングとは関係がないことを知っています。

ありがとう

4

1 に答える 1