Under php, how to decode this html from ajax post?

var _html="<h1 style="text-align: center; font-weight: 700; font-size: 40px;"></h1>";

foreground ajax post _ html goes to the background

php

cannot be used directly. What kind of code is this? How do I decode it into normal html code?

Jun.29,2022

this is the HTML entity. To convert to normal characters, you can use the htmlspecialchars_decode function

htmlspecialchars_decode
Menu