I’m working on a script and having a problem parsing the above mentioned tags from a php variable (from DB) into plain html. All that I get is displaying the object code as text and not the movie it self.
If I copy the code into html tags it works but as soon as I try <?=$code;?> all i get is the code displayed instead of parsed. I have tried just about everything: htmlspecialchars, reversed special chars bla bla bla every available option from php.net tried without results.
There has to be a way to do it, I just have not had any luck finding it, trust me I’ve searched endlessly.
I thought about that, however, I’m working on a script where people can post anything from for sale to personal posts and would like to have the ability to have them post embed’s from i.e. youtube. Get my drift?
Ah man… nevermind lol I found an error in my other code… it is late I need to go to sleep lol I figured it out. I forgot to decode the code BEFORE the statement… oh man… anyway thanks for your input.
Even better would be to replace that <embed> tag with real HTML. A second <object> tag is the right way to embed objects since there is no such html as <EMBED>.