I am echoing the below using nicedit.com
<img src=http://images/14fc272d-131b-47ce-b452-9cd47a4a3846.jpg>
<iframe width=420 height=315 src=http://www.youtube.com/embed/LBBqOTd5qzE frameborder=0 allowfullscreen></iframe>
It ends up as just as code.
I tried nl2br() but its still text.
Using htmlspecialchars()
<img src=http://14fc272d-131b-47ce-b452-9cd47a4a3846.jpg><div><br></div><div><br></div><div><br></div><div><iframe width=420 height=315 src=http://www.youtube.com/embed/LBBqOTd5qzE frameborder=0 allowfullscreen></iframe></div>
Any ideas how to convert them into the said images/iframe videos etc.
htmlspecialchars()