<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1018959" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1018959</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/webmasters-corner/javascript-and-dynamic-webpages#comment-1112993</link>
    <description> &lt;p&gt;Sorry for the late reply. Thanks for all your help &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/wink.png&quot; title=&quot;Wink&quot; alt=&quot;Wink&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Tue, 27 Aug 2002 10:39:23 +0000</pubDate>
 <dc:creator>nuk3</dc:creator>
 <guid isPermaLink="false">comment 1112993 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/webmasters-corner/javascript-and-dynamic-webpages#comment-1112704</link>
    <description> &lt;p&gt;yep, the print command is causing it, do your if statements where you want the content&lt;/p&gt;
&lt;p&gt;...&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;if (&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$page &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;== &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;csslinks&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;) { &lt;br /&gt;print (&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;csslink javascript stuff or include a file&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;);&lt;br /&gt;}&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;
...&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;if (&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$page &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;== &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;csslinks&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;) { &lt;br /&gt;print (&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;csslinks main section or include from file above or seperate file&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;);&lt;br /&gt;}&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;
...&lt;/p&gt;
 </description>
     <pubDate>Tue, 20 Aug 2002 04:36:11 +0000</pubDate>
 <dc:creator>Busy</dc:creator>
 <guid isPermaLink="false">comment 1112704 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/webmasters-corner/javascript-and-dynamic-webpages#comment-1112241</link>
    <description> &lt;p&gt;Thanks for your help, but I&#039;m still having a few problems. Your way works but when I put code up the top in the head it displays it on my page. Is there anyway to keep it from not being displayed on the page?&lt;/p&gt;
&lt;p&gt;Here is what I have:&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;head&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;link rel&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=\&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;stylesheet\&quot; type=\&quot;text/css\&quot; href=\&quot;../css/style.css\&quot;&amp;gt;&lt;br /&gt;&amp;lt;title&amp;gt;Useful Ingredients&amp;lt;/title&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;if (&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$page&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt; == \&quot;csslinks\&quot;) { &lt;br /&gt;print (\&quot;hello\&quot;);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;/head&amp;gt;&lt;br /&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt; &lt;/p&gt;
&lt;p&gt;Is it because I&#039;m using the print command? I have a hunch that it might be...&lt;/p&gt;
 </description>
     <pubDate>Wed, 07 Aug 2002 05:07:19 +0000</pubDate>
 <dc:creator>nuk3</dc:creator>
 <guid isPermaLink="false">comment 1112241 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/webmasters-corner/javascript-and-dynamic-webpages#comment-1112228</link>
    <description> &lt;p&gt;If your using php you can include if statements in the head and/or body sections. you can write the script to the page or include a file with the script.&lt;/p&gt;
&lt;p&gt;if ($action == &#039;blah&#039;){ show this; }&lt;br /&gt;
if ($action == &#039;blahblah&#039;){ show this instead; }&lt;/p&gt;
&lt;p&gt;or can use if / elseif / else or switch.&lt;/p&gt;
&lt;p&gt;I use this method on one of my sites, it has a side table section, about 8 pages are called to the main page depending on the link choosen and in each included file i have &lt;/p&gt;
&lt;p&gt;$main_contents = (&quot; all the main contents&quot;);&lt;br /&gt;
$side_contents = (&quot;all the side contens&quot;);&lt;/p&gt;
&lt;p&gt;so when the page is called the main_contents is displayed in the main section and side on the side ...&lt;/p&gt;
 </description>
     <pubDate>Tue, 06 Aug 2002 22:42:50 +0000</pubDate>
 <dc:creator>Busy</dc:creator>
 <guid isPermaLink="false">comment 1112228 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
