Assuming you want to have two rows of three columns then you should try using mod (%) to limit the number of iterations of the loop for each row.
Try something like:
$query = "SQL statement";
$result = mysql_query($query);
$i=0;
$number = mysql_num_rows ($result)
while ($i < $number)
{
$x = mysql_result(result,$i,"x_field_name");
$y = mysql_result(result,$i,"y_field_name");
if (($i % 3) == 0)
echo "<tr>";
echo "<td> html stuff and $x more html and $y"</td>;
if (($i % 3) == 2)
echo "</tr>";
$i++;
}
It may take a few trails to get the look and output you want but this will get you three cells across.
Good Luck
Jon Bertsch