Bonjour
J'ai tapé les codes suivants;
Une fois j'ai exécuté je constate que mon application ne s'affiche pas.
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<html> <head><title> </title> </head> <body> <form method type= post action=""> pu <input type=text name=pu> qte <input type= text name=qte> <hr> PHT <input type=text name=pht> PTTC<input type= text name=pttc> REDUCTION <input type=text name=reduction> <input type=submit value=affiche> <input type=submit value=cancel> </form> <?php $e=$_post ['' pu''] $f=$_post ["qte"] $g=$e * $f ; $PHT=$g echo $PHT; $a=PHT * 0.18; $PTTC=$PHT + $a; if ($PTTC<15000) echo "réduction 0.05"; elseif ($PTTC>15000 && $PTTC<25000) echo "réduction 0.07"; else ($PTTC>25000) echo"réduction 0.09" ?> </body> </html>
Pourriez-vous m'aidez moi à trouver les erreurs.
merci






Répondre avec citation
Partager