I've got this script here.
<li><script id="sid0020000048947519509">(function() {function async_load(){s.id="cid0020000048947519509";s.src='http://st.chatango.com/js/gz/emb.js';s.style.cssText="width:299px;height:433px;";s.async=true;s.text='{"handle":"phanime","arch":"js","styles":{"a":"404040","b":100,"c":"FFFFFF","d":"FFFFFF","k":"404040","l":"404040","m":"404040","n":"FFFFFF","q":"404040","r":100,"t":0,"cv":1,"cvfnt":"Calibri, Candara, Segoe, \'Segoe UI\', Optima, Arial, sans-serif, sans-serif","cvbg":"404040","cvfg":"ffffff","cvh":26,"surl":0}}';var ss = document.getElementsByTagName('script');for (var i=0, l=ss.length; i < l; i++){if (ss[i].id=='sid0020000048947519509'){ss[i].id +='_';ss[i].parentNode.insertBefore(s, ss[i]);break;}}}var s=document.createElement('script');if (s.async==undefined){if (window.addEventListener) {addEventListener('load',async_load,false);}else if (window.attachEvent) {attachEvent('onload',async_load);}}else {async_load();}})();</script></li>
Now I want this to be concatenated to a PHP variable like so..
$more_html_content .= '<li><script id="sid0020000048947519509">(function() {function async_load(){s.id="cid0020000048947519509";s.src='http://st.chatango.com/js/gz/emb.js';s.style.cssText="width:299px;height:433px;";s.async=true;s.text='{"handle":"phanime","arch":"js","styles":{"a":"404040","b":100,"c":"FFFFFF","d":"FFFFFF","k":"404040","l":"404040","m":"404040","n":"FFFFFF","q":"404040","r":100,"t":0,"cv":1,"cvfnt":"Calibri, Candara, Segoe, \'Segoe UI\', Optima, Arial, sans-serif, sans-serif","cvbg":"404040","cvfg":"ffffff","cvh":26,"surl":0}}';var ss = document.getElementsByTagName('script');for (var i=0, l=ss.length; i < l; i++){if (ss[i].id=='sid0020000048947519509'){ss[i].id +='_';ss[i].parentNode.insertBefore(s, ss[i]);break;}}}var s=document.createElement('script');if (s.async==undefined){if (window.addEventListener) {addEventListener('load',async_load,false);}else if (window.attachEvent) {attachEvent('onload',async_load);}}else {async_load();}})();</script></li>'
So I know this obviously won't work since there are other ' in the middle of the HTML code so how do I go about doing this without much of a hassle since I see a lot of ' these.