Ho fatto una prova con la stessa quantità di dati per tabella e funziona ma a me serve modificare come indicato sopra, il codice è un po' incasinato comunque lo posto

La struttura sarebbe

Codice PHP:
<?
echo'<table width="100%">    <tr>
                <td width="30%">'
;
                echo 
'<table class="td1" width="100%">';
                
$q01 mysql_query("Select ...") or die(mysql_error());
                while (
$rs01 mysql_fetch_array($q01)){
                echo
'    <tr>
                            <td class="td1" width="20%"><font color="white">'
.$rs01['E'].'</td>
                            <td class="td1" width="20%"><font color="white">'
.$rs01['D'].'</td>
                            <td class="td1" width="20%"><font color="white">'
.$rs01['C'].'</td>
                            <td class="td1" width="20%"><font color="white">'
.$rs01['B'].'</td>
                            <td class="td1" width="20%"><font color="white">'
.$rs01['A'].'</td>
                        </tr>'
;
                }
    echo 
'        </table></td>
                <td class="td1" width="30%">'
;
                echo 
'<table width="100%">';
                
$q02 mysql_query("Select ...") or die(mysql_error());
                while (
$rs02 mysql_fetch_array($q02)){
                echo 
'    <tr>
                            <td class="td1" width="20%"><font color="white">'
.$rs02['F'].'</td>
                            <td class="td1" width="20%"><font color="white">'
.$rs02['D'].'</td>
                            <td class="td1" width="20%"><font color="white">'
.$rs02['Z'].'</td>
                            <td class="td1" width="20%"><font color="white">'
.$rs02['Y'].'</td>
                            <td class="td1" width="20%"><font color="white">'
.$rs02['X'].'</td>
                        </tr>'
;
                }
    echo 
'        </table></td>
                <td class="td1" width="30%">'
;
                echo 
'<table width="100%">
                        <tr>
                            <td class="td1" width="20%">EEEEE</td>
                            <td class="td1" width="20%">BBBBBB</td>
                            <td class="td1" width="20%">CCCCCCC</td>
                            <td class="td1" width="20%">AAAAAi</td>
                            <td class="td1" width="20%">XXXXX</td>
                        </tr>
                     </table>'
;
    echo 
'        </td>
                </tr>
        </table>'
;
?>