Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
データベースにphpを使用してhtmlコードを保存すると、htmlコードは次のようになります。
& lt ; b & gt ; (for <b>)
私は彼らが特殊文字であることを知っています。で表示したい場合はecho、次のようにデコードする必要があります。
echo
html_entity_decode($test);
htmlhtml_entity_decode を必要としないように、特殊文字なしで保存するにはどうすればよいですか?
html
ありがとうございました。