<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1028016" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1028016</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/while-loop-creating-css-classes#comment-1165634</link>
    <description> &lt;p&gt;Did it work in your browser?  I still have nothing, even when I set a class without the PHP.&lt;/p&gt;
 </description>
     <pubDate>Mon, 07 Feb 2005 22:29:26 +0000</pubDate>
 <dc:creator>Dragon of Ice</dc:creator>
 <guid isPermaLink="false">comment 1165634 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/while-loop-creating-css-classes#comment-1165592</link>
    <description> &lt;p&gt;It only becomes an issue to not use {} when you have things that can be valid parts of variable names ie letters and underscores. I think it&#039;s also required with some multilevel arrays like $array[$key1][$subkey].&lt;/p&gt;
 </description>
     <pubDate>Mon, 07 Feb 2005 06:10:02 +0000</pubDate>
 <dc:creator>CptAwesome</dc:creator>
 <guid isPermaLink="false">comment 1165592 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/while-loop-creating-css-classes#comment-1165591</link>
    <description> &lt;p&gt;One you reaname it main.php, you should be ok, however there are two other things to look at, both of which didn&#039;t prevent your script from running in ZDE.&lt;/p&gt;
&lt;p&gt;When using an array inside quotes, instead of just doing $array[&#039;element&#039;] you should use {$array[&#039;element&#039;]} I thought this was required, but eiter it isn&#039;t now or it is becasue you used a variable for the element name it worked without them &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;
&lt;p&gt;Also, you do not have your ending ?&amp;gt; tag at the end of the file.&lt;/p&gt;
&lt;p&gt;Both are just for better coding practices.&lt;/p&gt;
&lt;p&gt;-Greg&lt;/p&gt;
 </description>
     <pubDate>Mon, 07 Feb 2005 05:57:07 +0000</pubDate>
 <dc:creator>Greg K</dc:creator>
 <guid isPermaLink="false">comment 1165591 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/while-loop-creating-css-classes#comment-1165580</link>
    <description> &lt;p&gt;2 things:&lt;br /&gt;
1: it&#039;s usually written $x++; but I think ++$x; &quot;adds it sooner&quot; or something to that effect, again, I don&#039;t think it matters, but it might.&lt;/p&gt;
&lt;p&gt;2: You have the file named main.css, which will not be read as php, a php file will be read as CSS, but not vice versa. You have the header() set in the file which I think is needed for Firefox, but yeah. You need to make a .htaccess either making things named .css processable by php, OR rename it main.php and set the .htaccess to read it as text/css and php, though I don&#039;t know if thats totally possible, heh.&lt;/p&gt;
&lt;p&gt;Just rename the file .php, and it should work.&lt;/p&gt;
 </description>
     <pubDate>Mon, 07 Feb 2005 04:54:53 +0000</pubDate>
 <dc:creator>CptAwesome</dc:creator>
 <guid isPermaLink="false">comment 1165580 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
