salut tous le monde,
j'ai un problème j'espère bien trouver une solution ,merci bien pour vos aides et effort.
bah j'essaye de créer un formulaire en php, au niveau de syntaxe ça marche la page s'affiche normal mais lors de l'envoi du formulaire , le programme n'arrive pas a lire les variables du formulaire et je sais pas pourquoi.
voici le code:
je crois que le problème est dans ce code car j'ai tester le reste et tous se passe bien sauf les variable récupérer du formulair.
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
24
25
26
27
28
29
30
31
32
33
34
35
36
37 <?php echo "<form method=post&name=vent>"; echo"<input name=envouyer & type=hidden & value=oui />"; echo"<table width=80% & border=2 & align=center & bordercolor=#000000 & bgcolor=#FFFFCC>"; echo "<caption style=color:#FFFFCC>";echo "SAISIE DE VENTE";echo"</caption>"; echo"<tr>"; echo"<th>";echo"ARTICLE";echo"</th>"; echo"<th>";echo"PRIX U";echo"</th>";echo"<th>";echo"QUANTITEE";echo"</th>";echo"<th>";echo"COMMENTAIR";echo"</th>";echo"</tr>"; echo"<tr>"; echo"<td>" ; echo $row_Recordset2[0]; echo"</td>"; if($row_Recordset2[4]=="modif") { echo"<td>"; echo" <input type=text &name=puv&id=puv />"; echo"</td>"; } else { echo"<td>"; echo $row_Recordset2[3]; echo"</td>"; } echo"<td>";echo"<input type=text & name=qte &id=qte />";echo"</td>"; echo"<td>";echo"<textarea name=commt &cols=20 &rows=1 &wrap=virtual>";echo"</textarea>";echo"</td>"; echo"</tr>"; echo"<tr>";echo"<td colspan=4 & align=center>"; echo"<input type=submit & value=enregistrer />";echo"<input type=reset & value=recommencer>";echo"</tr>"; echo"</table>"; echo"</form>"; ?>
merciii,
Partager