Ciao a tutti! vorrei sapere come posso creare una tabella con 4 colonne.
mi spiego meglio: devo elencare degli array e li vorrei mettere su una tabella con quattro colonne una cella per array. io ho provato con
Codice PHP:
$table .="<table border=\"0\" width=\"100%\">";
$i=0;
 while(
$i<$n){    //$n è il nnumero degli array
$i++;
$par$i/2;
round($par2);
if(
strstr ($par'25')) {$table .="<tr><td>$array[$i]</td>";}
elseif(
strstr ($par'50') or strstr ($par'75')) {$table .="<td>$array[$i]</td>";}
else {
$table .="<td>$array[$i]</td></tr>";}
  }
$table .="</table>"
ma non va...