title: Use of CSS in SQL multi Records
body: <p>I want to give new touch to my site through CSS, but i dont know how to use different CSS styles into multiple SQL Outcome, Let me explain this from example....</p>
  
  <p>Suppose</p>
  
  <pre><code>$sql = "SELECT id, text FROM tgrp437 WHERE active='1' and uid='".$ud."' LIMIT 20";
  
  $items = mysql_query($sql);
  
  echo mysql_error();
  
  if(@mysql_num_rows($items)&gt;0)
  
  {
  
   while ($item = mysql_fetch_array($items))
  
   {
  $gold=$item[1]
  
  }}
  </code></pre>
  
  <p>So I want to display</p>
  
  <p>all <strong>20 rows</strong> into different colors or CSS tags Like :</p>
  
  <pre><code>echo '1-&lt;font color="red"&gt;'.$gold.'&lt;/font&gt;';
  
  echo '2-&lt;font color="green"&gt;'.$gold.'&lt;/font&gt;';
  
  echo '3-&lt;font color="blue"&gt;'.$gold.'&lt;/font&gt;';
  
  echo '4-&lt;font color="purple"&gt;'.$gold.'&lt;/font&gt;';
  </code></pre>
  
  <p>How can I Like this ??</p>
  
  <p>Please help me !!</p>
  
  <p>Thanks !!</p>