Bonjour,
J'ai un bout de code me permettant de modifier les champs des plusieurs enregistrements. Je peux sauvegarder chaque enregistrement mais je souhaite effectuer une sauvegarde pour l'ensemble des modifications que j'aurais fait.
Voici mon code :
Comment faire un "UP" général ?
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 <?php do { ?> <form method="post" name="form1" action="<?php echo $editFormAction; ?>"> <table width="1348" border="0"> <tr> <td width="31"><input name="submit" type="submit" value="UP" /></td> <td width="60"><input type="text" name="info1" value="<?php echo $row_Recordset1['info1']; ?>" size="10" /></td> <td width="240"><input type="text" name="info2" value="<?php echo $row_Recordset1['info2']; ?>" size="40" /></td> <td width="300"><input type="text" name="info3" value="<?php echo $row_Recordset1['info3']; ?>" size="50" /></td> <td width="620"><?php echo $row_Recordset1['numero']; ?> <input type="hidden" name="MM_update" value="form1" /> <input type="hidden" name="numéro" value="<?php echo $row_Recordset1['numero']; ?>" /></td> </tr> </table> </form> <?php } while ($row_Recordset1 = mysql_fetch_assoc($Recordset1)); ?>
Merci de vos réponses.
Partager