this is most probably something very simple so please excuse me.
i have a variable $postVideo and within in variable is the entire embed code for a you tube link:
<iframe width="420" height="315"
src="//www.youtube.com/embed/UF-6M06lPZo"
frameborder="0" allowfullscreen></iframe>
now when i do echo $postVideo; it does not display the you tube video it shows the code on my page and in view source its printing this:
<iframe width="420"
height="315"
src="//www.youtube.com/embed/UF-6M06lPZo" frameborder="0"
allowfullscreen></iframe>
now i know i can have the user put in the youtube ID and i do it that way, but the users in my CMS may add multiple Video's from multiple sources so wanted them to just add the embed code supplied.
so i suppose the question is how do i print it without the special char so it acts like it should.
thank you in advance.
PS don't watch the video if you are offended by bad language (its just a random one from yourtube)