Quantcast
Channel: Programming Forums
Viewing all articles
Browse latest Browse all 51036

html_entity_decode?

$
0
0
I use php to read and write out html code, but it contains "&""#038"; which I suspect is what makes flash player not work (in IE, although it works on Firefox)?

document.write('<embed src="adv/focus.swf" wmode="opaque" FlashVars="config='+config+'&bcastr_flie=....


in the above code, the ampersand is replaced with (ampersand #038 semi-colon), when i view page source.

I tried to get rid of (ampersand #038 semi-colon) using str_replace (to replace it with &), and html_entity_decode, but nothing happened?

when i type in the code here, it will automatically be converted into a single ampersand, if i use firefox. If i use IE, I cannot even view this page..?

Viewing all articles
Browse latest Browse all 51036

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>