<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1011625" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1011625</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/printing-false-something-and-using-real-something#comment-1066835</link>
    <description> &lt;p&gt;Just for reference, double quotes interpret the $variable, and single quotes simply state it.&lt;/p&gt;
&lt;p&gt;so...&lt;/p&gt;
&lt;p&gt;$variable = &quot;some string&quot;;&lt;/p&gt;
&lt;p&gt;print &#039;$variable&#039;;&lt;/p&gt;
&lt;p&gt;prints:  $variable&lt;/p&gt;
&lt;p&gt;and print &quot;$variable&quot;;&lt;/p&gt;
&lt;p&gt;prints: some string&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt; Suzanne&lt;/p&gt;
 </description>
     <pubDate>Thu, 06 Jul 2000 05:22:15 +0000</pubDate>
 <dc:creator>Suzanne</dc:creator>
 <guid isPermaLink="false">comment 1066835 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/printing-false-something-and-using-real-something#comment-1066787</link>
    <description> &lt;p&gt;It works, all I had to add was the \ in front. Thanks you two.&lt;/p&gt;
 </description>
     <pubDate>Wed, 05 Jul 2000 21:11:33 +0000</pubDate>
 <dc:creator>minton</dc:creator>
 <guid isPermaLink="false">comment 1066787 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/printing-false-something-and-using-real-something#comment-1066782</link>
    <description> &lt;p&gt;Use this:&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;sub writeconfig { &lt;br /&gt;open (FILE, &amp;quot;&amp;gt;$CONFIGnewspage/config.txt&amp;quot;) || die &amp;quot;Could not open file $CONFIGnewspage/config.txt: $!&amp;quot;; &lt;br /&gt;print FILE qq|\$newspage = &amp;quot;$newspage&amp;quot;;\n|; &lt;br /&gt;print FILE qq|\$wwwnewspage = &amp;quot;$wwwnewspage&amp;quot;;\n|; &lt;br /&gt;print FILE qq|\$nameofnews = &amp;quot;$nameofnews&amp;quot;;\n|; &lt;br /&gt;print FILE qq|\$nameofsite = &amp;quot;$nameofsite&amp;quot;;\n|; &lt;br /&gt;print FILE qq|\$subfont = &amp;quot;$subfont&amp;quot;;\n|; &lt;br /&gt;print FILE qq|\$memfont = &amp;quot;$memfont&amp;quot;;\n|; &lt;br /&gt;print FILE qq|\$subcolour = &amp;quot;$subcolour&amp;quot;;\n|; &lt;br /&gt;print FILE qq|\$memcolour = &amp;quot;$memcolour&amp;quot;;\n|; &lt;br /&gt;close (FILE);&lt;br /&gt;} &lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
&lt;p&gt;[added]&lt;strong&gt;Explination:&lt;/strong&gt;  the above coe shoud work, just make sure that the variables you want to have printed are the ones listed above.  The reason why your script printed blank is because you did not exscape the variable, and on trying to find it, it was null.[/added]&lt;/p&gt;
&lt;p&gt;Hope that helped.  Post anymore questions you may have. &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Richard&lt;/p&gt;
&lt;p&gt;[Edited by richjb on 07-05-2000 at 04:32 PM]&lt;/p&gt;
 </description>
     <pubDate>Wed, 05 Jul 2000 20:25:47 +0000</pubDate>
 <dc:creator>richjb</dc:creator>
 <guid isPermaLink="false">comment 1066782 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/printing-false-something-and-using-real-something#comment-1066775</link>
    <description> &lt;p&gt;use \$ instead of $&lt;/p&gt;
 </description>
     <pubDate>Wed, 05 Jul 2000 19:21:00 +0000</pubDate>
 <dc:creator>plebius</dc:creator>
 <guid isPermaLink="false">comment 1066775 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
