ciao andrea!!!

quindi qui

if ($i == 0 || $i == 1) {?>
//Scrivi gli header della tabella
<?php


potrei scrivere

if ($i == 0 || $i == 1) {?>
<td class="firstrow"><?=$data[0]?></td>
<td class="firstrow"><?=$data[1]?></td>
<td class="firstrow"><?=$data[2]?></td>
<td class="firstrow"><?=$data[3]?></td>
<td class="firstrow"><?=$data[4]?></td>
<td class="firstrow"><?=$data[5]?></td>
<td class="firstrow"><?=$data[6]?></td>
<td class="firstrow"><?=$data[7]?></td>
<?php


???

e se io inoltre volessi stampare tanti td quante sono le tabulazioni nel file di testo? dovrei fare un ciclo for suppongo, ma come?