I FINALLY FOUND HOW !!!! After looking at several source I found how the for work and I thought that it whould be more appropriate that a while so here's my solution :D Thanks for your help it did guide me to the right thing in the end ;) ;) ;D [code]<?php if ($REQUEST_METHOD=="POST") { for($i=0; $i<count($id); $i++) { tep_db_query("UPDATE info_prix SET prix_1_gross = " . $prix_1gross[$i] . ", prix_1_paquet = " . $prix_10gross[$i] . " WHERE id= " . $id[$i] . "") or die(tep_db_error()); } } $sql_prix = "SELECT * FROM info_prix WHERE categorie='" . $HTTP_GET_VARS['catID'] . "' and fabriquant='Swarovski' ORDER BY grandeur"; $fabriquant = tep_db_query($sql_prix) or die (tep_db_error()); $prix = tep_db_query($sql_prix) or die (tep_db_error()); $fab=tep_db_fetch_array($fabriquant); ?> <br> <div class="Title"></div> <br> <form method="Post" action=""> <table cellspacing="0"> <td><b><?php echo $fab['fabriquant']; ?></b><br><br></td> <?php echo "<tr> <td></td> <td width='85'>" . CAT_SIZE . "</td> <td width='115'>" . CAT_1GROSS . "</td> <td colspan='2'>" . CAT_PAQUET . "</td> </tr>\n"; for($i=0; $i<tep_db_num_rows($prix); $i++) { echo "<tr>\n"; echo "<td width='5'><input type='hidden' 'name='id[]' readonly='readonly' style='border-style: none;' size='1' value='" . tep_db_result($prix,$i,0) . "'></td>\n"; echo "<td width='85'>" . tep_db_result($prix,$i,3) . "</td>\n"; echo "<td width='115'><input type='text' name='prix_1gross[]' size='10' value='" . tep_db_result($prix,$i,4) . "'>$</td>\n"; echo "<td width='70'>" . tep_db_result($prix,$i,5) . "</td>\n"; echo "<td width='90'><input type='text' name='prix_10gross[]' size='10' value='" . tep_db_result($prix,$i,6) . "'>$</td>\n"; echo "</tr>\n"; } ?> <tr> <td colspan="4" align="right"><br><input type="submit" name="Save" value="Save" style="width: 70px"</td> </tr> </form> </table>[/code]