color on each iteration of loop using a div
<p>I am wondering how to change this :</p>

<p>This code is using a table and I instead trying to use a div, but I wanna define the div the same way it's done with <code>enter &lt;td&gt;. In &lt;td class= '".$class." thum'&gt; here</code>
Like <code>enter &lt;div class='".$class." thumb'&gt; here</code></p>

<pre><code>enter &lt;td ' class='".$class." thumb'&gt;&lt;div align='center'&gt;&lt;a href='show-".$row['id'].".php'&gt;&lt;img src='".$row['image']."' width='80' height='60' /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/td&gt; here
</code></pre>

<p>I am trying to change color on each iteration of loop. That's what $class is there. </p>

<p>I don't think this is clear at all. It's hard to explain it</p>

<p>Thanks in advance</p>
