para eso tenes que dibujar un tabla dinamica. Algo asi:
Código PHP:
<table><tr>
<?php
$tr=1;
$cuantas =2;
while($rs = mysql_fetch_array($r)){
if($tr/($cuantas+1)==1){echo "</tr><tr>";
$tr=1;
}
?>
<td>Contenido</td>
<?php
$tr++;
if($tr/($cuantas+2)==1){echo "</tr>";}
}#Del while
while ($tr <= $cuantas):
echo "<td> </td>";
$tr++;
endwhile;
mysql_free_result($r);
?>
Espero te sirva.