Bonjour,

Je crée un formulaire de commande lié à une base de donnée

J'ai un champ chercher qui me rempli les 2 autres champs.

Qand je copie mon formulaire pour avoir 10 lignes j'ai toutes les infos sur mes lignes.
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
17
18
19
20
21
22
23
<form id="formulaire" name="formulaire" method="post" action="index4.php">
  <p>
    <label for="commande"></label>
    <input name="commande" type="text" id="commande" size="10" />
    <input type="submit" name="envoyer" id="envoyer" value="Rechercher" />
 
    <label for="article">article</label>
    <input name="article" type="text" id="article" value="<?php echo $row_affiche['NO_ARTICLE']; ?>" size="10" />
    <label for="designation">designation</label>
    <input name="designation" type="text" id="designation" value="<?php echo $row_affiche['DESIGNATION']; ?>" size="70" />
    <label for="qte">Qté</label>
    <input name="qte" type="text" id="qte" size="5" />
  </p>
  <p>
    <input name="commande2" type="text" id="commande2" size="10" />
    <input type="submit" name="envoyer2" id="envoyer2" value="Rechercher" />
    <label for="article3">article</label>
    <input name="article2" type="text" id="article3" value="<?php echo $row_affiche['NO_ARTICLE']; ?>" size="10" />
    <label for="designation3">designation</label>
    <input name="designation2" type="text" id="designation3" value="<?php echo $row_affiche['DESIGNATION']; ?>" size="70" />
    <label for="qte3">Qté</label>
    <input name="qte2" type="text" id="qte3" size="5" />
  </p>
comment faire pour n'avoir qu'une ligne à la fois