php - display a table row by row
<p>I print my table like that:</p>

<pre><code>print $tableHeader . $dataRow . $tableFooter;
</code></pre>

<p>the $dataRow is the result of a loop (getting data from DB and building the row, nothing unusual), it's something like:</p>

<pre><code>while ($obj = mysql_fetch_object($res)) { 
  $dataRow .= ' &lt;td width="210" style="..."&gt;' . $obj-&gt;title . ' &lt;br /&gt; '. $obj-&gt;screenName .' &lt;/td&gt;';
  ...
  ...
}
</code></pre>

<p>The problem is when there is a huge amount of information to handle => huge amount of rows to build before displaying the final table.</p>

<p>How could I tell Apache to display it row by row ?</p>
