salve non riesco in questa cosa: dovrei fare una tabella dove in pratica cè la foto di un cellulare divisa in slide ogni casella un immagine . ogni immagine proviene da un campo del database mysql e sono in sequenza quindi organizzando bene la tabella dovrebb e venire il cellulare completo unito nelle sue parti. codice :
Codice PHP:

\\identifico i campi 


$query_limit2 
mysql_query("SELECT * FROM fotoprivate where proprietariofp = '".$userf."'
                                         and idsottocartella = '"
.$cartella."' order by datainserimento asc ");

\\\ 
cerco di dare un nome ai vari campi in sequenza 0 1 2 3 ecc fino a 4
$cornice 
mysql_fetch_array($query_limit2) ;

     
mysql_data_seek($query_limit20);

     
$fotocornice0=$cornice[nomefotop];
     
       
$cornice mysql_fetch_array($query_limit2) ;
       
mysql_data_seek($query_limit21);

     
$fotocornice1=$cornice[nomefotop];
     
     
$cornice mysql_fetch_array($query_limit2) ;

     
mysql_data_seek($query_limit22);

     
$fotocornice2=$cornice[nomefotop];
     
      
$cornice mysql_fetch_array($query_limit2) ;

       
mysql_data_seek($query_limit23);

     
$fotocornice3=$cornice[nomefotop];
     
       
$cornice mysql_fetch_array($query_limit2) ;
     
       
mysql_data_seek($query_limit24);

     
$fotocornice4=$cornice[nomefotop];

\\\ 
creo tabella 


echo "<td width=\"$cell_width%\" align=\"center\"><br>$data <br><a href=\"$results[percorsofp]$nomeattualec\"><font size=\"1\" color=\"black\" face=\"Comic Sans MS\"><u><i>View HD</i></u></font></a><br>


      <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100\" height=\"200\">
        <tr>
                <td colspan=\"3\" width=\"100\" height=\"31\"><img src=\"
$cornice[percorsofp]$nomeattualec/galleryphone/$fotocornice0\" border=\"0\"></td>
                <td width=\"1\" height=\"31\"></td>
        </tr>
        <tr>
                <td rowspan=\"2\" width=\"9\" height=\"169\"><img src=\"
$cornice[percorsofp]$nomeattualec/galleryphone/$fotocornice0\" border=\"0\"></td>
                <td width=\"82\" height=\"140\"><img src=\"
$cornice[percorsofp]$nomeattualec/galleryphone/$fotocornice0\" border=\"0\"></td>
                <td rowspan=\"2\" width=\"9\" height=\"169\"><img src=\"
$cornice[percorsofp]$nomeattualec/galleryphone/$fotocornice0\" border=\"0\"></td>
                <td width=\"1\" height=\"140\"></td>
        </tr>
        <tr>
                <td width=\"82\" height=\"29\"><img src=\"
$cornice[percorsofp]$nomeattualec/galleryphone/$fotocornice0\" border=\"0\"></td>
                <td width=\"1\" height=\"29\"></td>
        </tr>
        <tr>
                <td width=\"9\" height=\"1\"></td>
                <td width=\"82\" height=\"1\"></td>
                <td width=\"9\" height=\"1\"></td>
        </tr>
</table>



</td>"


mi vengono tutte le parti mischiate e non so come muovermi all interno della query