Empty table row in while loop from query
<p>I have a while loop which displays records in a table.  Works OK, but there is an extra table row at the top of the table which is empty.</p>

<pre><code>&lt;table width="100%" border="0" cellpadding="5"&gt;
  &lt;?php do { 
  $count++;
?&gt;
    &lt;tr bgcolor=&lt;?php echo processRow($count); ?&gt;&gt;
      &lt;td&gt;&lt;?php echo $row['title']; ?&gt;&lt;/td&gt;
      &lt;td width="8%"&gt;&lt;a href="edit_topic.php?topic_pk=&lt;?php echo $row['topic_pk']; ?&gt;"&gt;edit&lt;/a&gt;&lt;/td&gt;
      &lt;td width="12%"&gt;&lt;a href="edit_topic.php?topic_pk=&lt;?php echo $row['topic_pk']; ?&gt;"&gt;delete&lt;/a&gt;&lt;/td&gt;
    &lt;/tr&gt;
  &lt;?php 
   if($count == 2){
$count = 0;
}
} while ($row = mysql_fetch_assoc($result)); 
?&gt;
&lt;/table&gt;
</code></pre>
