<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1026060" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1026060</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/mixing-phpjs-html-problem#comment-1157285</link>
    <description> &lt;p&gt;ok first off...if you can put your JS in a .js file, then do it, and call the file in the  section by &amp;lt;script src=&quot;myscript.js&quot; type=&quot;text/javascript&quot; language=&quot;Javascript&quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;/p&gt;
&lt;p&gt;Second...instead of &amp;lt;? echo &quot;$fontsize&quot;; ?&amp;gt; you need &amp;lt;? echo $fontsize; ?&amp;gt; or even &amp;lt;?=$fontsize?&amp;gt;, same goes for the rest...and in your php file, you can structure it like this:&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&amp;lt;?Php&lt;br /&gt;&lt;br /&gt;//some php here&lt;br /&gt;&lt;br /&gt;?&amp;gt;&lt;br /&gt;&amp;lt;head&amp;gt;&lt;br /&gt;&amp;lt;title&amp;gt;&amp;lt;/title&amp;gt;&lt;br /&gt;&amp;amp;lt;script src....&amp;amp;gt;&amp;amp;lt;/script&amp;amp;gt;&lt;br /&gt;&amp;lt;/head&amp;gt;&lt;br /&gt;&amp;lt;body&amp;gt;&lt;br /&gt;etc etc&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;You dont have to do the document write or any of that by echoing from  php...&lt;/p&gt;
&lt;p&gt;If you think there are problems with quotes, then escape them...so &quot; becomes \&quot;&lt;/p&gt;
 </description>
     <pubDate>Wed, 25 Aug 2004 12:48:47 +0000</pubDate>
 <dc:creator>brady.k</dc:creator>
 <guid isPermaLink="false">comment 1157285 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
