$zapros = mysql_query(запрос на выборку...);
echo '<table align="center" border="0" cellspacing="40" cellpadding="0">';
echo '<tr>';
while ($z = mysql_fetch_assoc($zapros))
echo '<td>'.$z['что-то'].'</td>';
echo '</tr>';
echo '</table>'; $zapros = mysql_query(запрос на выборку...);
echo '<table align="center" border="0" cellspacing="40" cellpadding="0">';
echo '<tr>';
while ($z = mysql_fetch_assoc($zapros))
echo '<td>'.$z['что-то'].'</td>';
echo '</tr>';
echo '</table>';