risolto,il tuo aiuto willy è stato fondmentale, è bastato specificare l'indice cm hai detto, così:
Codice PHP:$progressivo = 0;
while($array = mysql_fetch_array($result))
{
echo"<td width=\"$cell_width%\" align=\"center\">
<a href=\"#\" onclick=\"var ck=document.modulo.elements['idfoto[$progressivo]'];ck.checked=!ck.checked;return false\" title=\"fai click sull'immagine per selezionarla\">
<div class=\"imageBox\">
<div class=\"imageBox_foto\" style=\"background-image:url('../$array[nome_file]');\"></div>
<div style=\"float:right; text-align:right;margin-top: -22px; margin-right: 7px;z-index:1\"><input name=\"idfoto[$progressivo]\" type=\"checkbox\" value=\"$array[idfoto]\"></div>
</div></a>
</td>";
}
$progressivo=$progressivo+1;
...

Rispondi quotando