t.quentin

Inscris le 12/02/2014 à 12:21
  • Nombre de sujets
    1
  • Nombre de messages
    2
  • Nombre de commentaires
    Aucun
  • Nombre de news
    Aucune
  • Niveau en PHP
    Débutant

Ses dernières news

Aucune news

Ses derniers sujets sur les forums

forum
t.quentin
Bonjour,
Je suis en train de réaliser une application où j'ai plusieurs formulaires qui permettent de rechercher un produit et son prix.
Mon soucis est que quand je clique sur le bouton rechercher d'un formulaire le résultat qu'afficher le formulaire précédent ne s'affiche plus car les $ post sont vides.
Donc j'aurai voulus savoir si vous aviez une solution.
Cordialement,
T.quentin.

Ses derniers messages sur les forums

forum
t.quentin
CODE HTML:
<table style="border:collapse:collapse;">
<tr>
<td style="font-size:10px;text-align:center;border:1px solid black;background-color:rgb(128,204,40);width:50px;height:10px;">
Etape1:<br/>Recherche
</td>
<td style="font-size:10px;text-align:center;border:1px solid black;width:50px;height:10px;">
Etape 2 :<br>Valider Recherche
</td>
<td style="font-size:10px;text-align:center;border:1px solid black;width:50px;height:10px;">
Etape 3 :<br/> Identification
</td>

</tr>
</table>
<h1 style="text-align-center;background-color:red;color:white;">Remplacement VELUX®, Configurez-les vous-mêmes ! en 1 clin d'oeil.</h1>


<div style="background-color:rgb(128,204,40);">
<form name="Formfenetre" id="FormFenetre"action="http://localhost/alphacombles/test-formulaire-2" method="post" style="background-color:rgb(128,204,40);">
<table style="font-size:13px; border-collapse:collapse;">
<tbody>
<tr>
<td style="text-align:center;margin:0px auto;">
taille<span style="color:red;">*</span>:
<img src="http://localhost/alphacombles/wp-content/uploads/2014/01/cote.jpg" style="height:80px;width:70px;margin-left:2px;" />
</td>
<td style="text-align:center;margin:0px auto;">
vitrage<span style="color:red;">*</span>:
<img src="http://localhost/alphacombles/wp-content/uploads/2014/01/velux-standard.jpg" style="height:100px;width:100px;margin-left:2px;" />
</td>
<td style="text-align:center;margin:0px auto;">
finition<span style="color:red;">*</span>:
<img src="http://localhost/alphacombles/wp-content/uploads/2014/01/finition-bois-verni-VELUX.jpg" style="height:50px;width:50px;margin-left:2px;" />
<img src="http://localhost/alphacombles/wp-content/uploads/2014/01/finition-coque-blanche-VELUX.jpg" style="height:50px;width:50px;margin-left:2px;" />
</td>
<td style="text-align:center;margin:0px auto;">
ouverture<span style="color:red;">*</span>:
<img src="http://localhost/alphacombles/wp-content/uploads/2014/01/ouverture-par-projection1.jpg" style="height:100px;width:100px;margin-left:2px;" />
</td>
<td style="text-align:center;">
tuile<span style="color:red;">*</span>:
</td>
<td style="text-align:center;margin:0px auto;">
stores:
</td>
<td style="text-align:center;margin:0px auto;">
volet:
</td>
</tr>
</tbody>
</table>
</form>
<form name="Formfenetre1" id="FormFenetre1"action="http://localhost/alphacombles/test-formulaire-2" method="post" style="background-color:rgb(128,204,40);">

<table style="background-color:rgb(128,204,40)">
<tbody>
<span id='Formfenetre1'>fenetre 1:<input style="width:200px;margin-left:5px;height:9.5px;font-size:9.4px" maxlength="100" type="text" name="fenetre1Nom"id="fenetre1Nom" value="chambre de Lya"> <input style="width:100px;margin-left:5px;height:22px;font-size:10px;margin-top:10px;" type="submit" name="fenetre1Boutton"id="fenetre1Boutton"value="rennommer">
<tr>
<td>
<select id="tailleFenetre1" name="tailleFenetre1" style="width:47px;font-size:8.4px;margin-left:1px;"><option value="optionTailleFenetre1">Taille</option><option value="55x70">55x70</option><option value="55x78">55X78</option><option value="55x98">55X98</option><option value="78x98">78X98</option><option value="78x118">78X118</option><option value="78x140">78X140</option><option value="114x118">114X118</option><option value="114x140">114X140</option><option value="134x98">134X98</option><option value="134x140">134X140</option> </select>
</td>
<td>
<select id="vitrageFenetre1" name="vitrageFenetre1" style="font-size:8.4px;width:65px;"><option value="optionVitrageFenetre1">vitrage</option><option value="Standard">Standard</option><option value="Confort">Confort</option><option value="Tout confort">Tout confort</option> </select>
</td>
<td>
<select id="finitionFenetre1" name="finitionFenetre1" style="font-size:8.4px;width:140px;"><option value="optionFinitionFenetre1">finition</option><option value="Bois vernis TopFinish">Bois vernis TopFinish</option><option>Coque blanche sans entretien</option> </select>
</td>
<td>
<select name="ouvertureFenetre1" style="font-size:8.4px;width:88px;"><option value="optionOuvertureFenetre1">type ouverture</option><option value="rotation">rotation</option><option>projection</option><option>motoris&eacute;</option> </select>
</td>
<td>
<select name="tuileFenetre1" style="font-size:8.4px;width:100px;"><option value="optionTuileFenetre1">tuile</option><option>Petites tuiles plates</option><option>Tuiles m&eacute;caniques</option><option>Ardoise</option> </select>
</td>
<td>
<select name="storeFenetre1" style="font-size:8.4px;width:120px;"><option value="optionStoreFenetre1">stores</option><option value="storeOccultantClassFenetre1">Occultants classique</option><option value="storeOccultantEnergSolFenetre1">Occultant à Energie solaire</option><option value="storeOccultaTamisFenetre1">Occultant et tamisant</option><option value="storeObscurIsoFenetre1">Obscurcissant et isolant</option> <option value="storeOccultPlissFenetre1">Occultant et plissé</option><option value="storePlissTransFenetre1">plissé translucide</option><option value="storeVenitManFenetre1">Venitien manuel</option><option value="storeVenitTelFenetre1">venitien télécommandé</option><option value="storeMoustiqFenetre1">Moustiquaire</option></select>
</td>
<td>
<select name="voletFenetre1" style="font-size:8.4px;width:40px;"><option value="optionVoletFenetre1">volet</option><option value="optionSSLFenetre1">SSL</option><option value="optionSMLFenetre1">SML</option> </select>
</td>
</tr>
</tbody>
</table>
<input id="BoutSubFormFenetre1" name="BoutSubFormFenetre1" style="font-size:9.4px;margin-left:595px;color:white;height:23px;" type="submit" value="rechercher"/>
</form>


<form name="FormFenetre2" id="FormFenetre2"action="http://localhost/alphacombles/test-formulaire-2" method="post" style="background-color:rgb(128,204,40);">

<table style="background-color:rgb(128,204,40)">
<tbody>
<span id='FormFenetre2'>fenetre 2:<input style="width:200px;margin-left:5px;height:9.5px;font-size:9.4px" maxlength="100" type="text" name="Fenetre2Nom"id="Fenetre2Nom" value="chambre de Lya"> <input style="width:100px;margin-left:5px;height:22px;font-size:10px;margin-top:10px;" type="submit" name="Fenetre2Boutton"id="Fenetre2Boutton"value="rennommer">
<tr>
<td>
<select id="tailleFenetre2" name="tailleFenetre2" style="width:47px;font-size:8.4px;margin-left:1px;"><option value="optionTailleFenetre2">Taille</option><option value="55x70">55x70</option><option value="55x78">55X78</option><option value="55x98">55X98</option><option value="78x98">78X98</option><option value="78x118">78X118</option><option value="78x140">78X140</option><option value="114x118">114X118</option><option value="114x140">114X140</option><option value="134x98">134X98</option><option value="134x140">134X140</option> </select>
</td>
<td>
<select id="vitrageFenetre2" name="vitrageFenetre2" style="font-size:8.4px;width:65px;"><option value="optionVitrageFenetre2">vitrage</option><option value="Standard">Standard</option><option value="Confort">Confort</option><option value="Tout confort">Tout confort</option> </select>
</td>
<td>
<select id="finitionFenetre2" name="finitionFenetre2" style="font-size:8.4px;width:140px;"><option value="optionFinitionFenetre2">finition</option><option value="Bois vernis TopFinish">Bois vernis TopFinish</option><option>Coque blanche sans entretien</option> </select>
</td>
<td>
<select name="ouvertureFenetre2" style="font-size:8.4px;width:88px;"><option value="optionOuvertureFenetre2">type ouverture</option><option value="rotation">rotation</option><option>projection</option><option>motoris&eacute;</option> </select>
</td>
<td>
<select name="tuileFenetre2" style="font-size:8.4px;width:100px;"><option value="optionTuileFenetre2">tuile</option><option>Petites tuiles plates</option><option>Tuiles m&eacute;caniques</option><option>Ardoise</option> </select>
</td>
<td>
<select name="storeFenetre2" style="font-size:8.4px;width:120px;"><option value="optionStoreFenetre2">stores</option><option value="storeOccultantClassFenetre2">Occultants classique</option><option value="storeOccultantEnergSolFenetre2">Occultant à Energie solaire</option><option value="storeOccultaTamisFenetre2">Occultant et tamisant</option><option value="storeObscurIsoFenetre2">Obscurcissant et isolant</option> <option value="storeOccultPlissFenetre2">Occultant et plissé</option><option value="storePlissTransFenetre2">plissé translucide</option><option value="storeVenitManFenetre2">Venitien manuel</option><option value="storeVenitTelFenetre2">venitien télécommandé</option><option value="storeMoustiqFenetre2">Moustiquaire</option></select>
</td>
<td>
<select name="voletFenetre2" style="font-size:8.4px;width:40px;"><option value="optionVoletFenetre2">volet</option><option value="optionSSLFenetre2">SSL</option><option value="optionSMLFenetre2">SML</option> </select>
</td>
</tr>
</tbody>
</table>
<input id="BoutSubFormFenetre2" name="BoutSubFormFenetre2" style="font-size:9.4px;margin-left:595px;color:white;height:23px;" type="submit" value="rechercher"/>
</form>

code php:
  1. <?php

  2. if(isset($_POST['BoutSubFormFenetre1'])|| isset($_POST['BoutSubFormFenetre2']))
  3. {

  4. echo 'Le prix de le fenetre est de '.$_SESSION['prixFen1'].' €';
  5. $tauxVelux=(28/100);
  6. $tauxRemiseVelux=1-$tauxVelux;
  7. $margeAlpha=20/100;
  8. $TauxMargeAlpha=1+($margeAlpha);
  9. $TauxremiseRaccord=(10/100);
  10. $remiseRaccord=1-$TauxremiseRaccord;
  11. $prixMDO=54;
  12. $_SESSION['Formfenetre1']['taille']=$_POST['tailleFenetre1'];
  13. $_SESSION['vitrage']=$_POST['vitrageFenetre1'];
  14. $_SESSION['finition']=$_POST['finitionFenetre1'];
  15. $_SESSION['ouverture']=$_POST['ouvertureFenetre1'];
  16. $_SESSION['tuile']=$_POST['tuileFenetre1'];
  17. $_SESSION['store']=$_POST['storeFenetre1'];
  18. $_SESSION['volet']=$_POST['voletFenetre1'];

  19. if($_SESSION['Formfenetre1']['taille']=="optionTailleFenetre1" && $_SESSION['vitrage']=="optionVitrageFenetre1" && $_SESSION['finition']=="optionFinitionFenetre1" && $_SESSION['ouverture']=="optionOuvertureFenetre1" && $_SESSION['tuile']=="optionTuileFenetre1" && $_SESSION['store']="optionStoreFenetre1" && $_SESSION['volet']=="optionVoletFenetre1")
  20. {
  21. echo"<br><span style='color:red; text-align:center;font-size:20px;'>erreur,aucun champs de rempli</span>";
  22. }
  23. else
  24. {
  25. if($_SESSION['Formfenetre1']['taille']=="optionTailleFenetre1" || $_SESSION['vitrage']=="optionVitrageFenetre1" || $_SESSION['finition']=="optionFinitionFenetre1" || $_SESSION['ouverture']=="optionOuvertureFenetre1" || $_SESSION['tuile']=="optionTuileFenetre1")
  26. {
  27. echo"<br><span style='color:red; text-align:center;font-size:20px;'>Erreur,tout les Champs obligatoires n'ont pas etaient saisis</span>";

  28. }

  29. {
  30. if($_SESSION['Formfenetre1']['taille']=='55x70')
  31. {

  32. if($_SESSION['vitrage']=='Confort')
  33. {

  34. if($_SESSION['finition']=='Bois vernis TopFinish')
  35. {

  36. if($_SESSION['ouverture']=='rotation')
  37. {

  38. $PrixCatalogue=246;
  39. $PrixRemiseVelux=$PrixCatalogue*$tauxRemiseVelux;
  40. $PrixRemise=$PrixRemiseVelux*$TauxMargeAlpha;
  41. if($_SESSION['tuile']=='Tuiles mécaniques')
  42. {
  43. if($_SESSION['store']!="optionStoreFenetre1")
  44. {
  45. if($_SESSION['store']=="storeOccultantClassFenetre1")
  46. {
  47. if($_SESSION['volet']!="optionVoletFenetre1")
  48. {
  49. if($_SESSION['volet']=="optionSSLFenetre1")
  50. {
  51. $prixCatalogueRaccord=67;
  52. $prixStore=41;
  53. $prixVolet=526;
  54. $prixAccessoires=$prixStore+$prixVolet;
  55. $PrixremiseRaccord=$prixCatalogueRaccord*$remiseRaccord;
  56. $PrixTotalRaccord=$PrixRemise+$PrixremiseRaccord;
  57. $PrixTotal=$PrixTotalRaccord+$prixMDO+$prixAccessoires;
  58. $_SESSION['prixFen1']=$PrixTotal;

  59. ?>
  60. <table style="font-size:12px"><tr><td></td><td style="text-align:center;">
  61. <tr>
  62. <td>
  63. </td>
  64. <td>
  65. </td>
  66. <td style="text-align:center;">Description</td>
  67. <td style="text-align:center;">Prix</td>
  68. </tr>
  69. <tr>
  70. <td>
  71. </td>
  72. <td><img src="http://localhost/alphacombles/wp-content/uploads/2014/01/velux-confort.jpg"style="width:70px;height:70px;"></td>
  73. <td><?php $velux="Velux&reg(CK01)";?><b>Fournitures et pose</b> Velux&reg(CK01) taille 55x70 finition: bois vernis de vitrage confort(GGL3076) avec ouverture par rotation avec tuiles mécaniques et raccords (EW 0000),store occultant classsique(DKL) et volet roulant(SSL) </td>
  74. <td><b>Prix total:<br/><?php echo $PrixTotal; ?></b></td></tr></table>
  75. <tr>
  76. </table><?php

  77. }
  78. else
  79. {
  80. if($_SESSION['volet']=="optionSMLFenetre1")
  81. {
  82. $prixCatalogueRaccord=67;
  83. $prixStore=41;
  84. $prixVolet=311;
  85. $prixAccessoires=$prixStore+$prixVolet;
  86. $PrixremiseRaccord=$prixCatalogueRaccord*$remiseRaccord;
  87. $PrixTotalRaccord=$PrixRemise+$PrixremiseRaccord;
  88. $PrixTotal=$PrixTotalRaccord+$prixMDO+$prixAccessoires;
  89. $_SESSION['prixFen1']=$PrixTotal;
  90. ?>

  91. <table style="font-size:12px"><tr><td></td><td style="text-align:center;">
  92. <tr>
  93. <td>
  94. </td>
  95. <td>
  96. </td>
  97. <td style="text-align:center;">Description</td>
  98. <td style="text-align:center;">Prix</td>
  99. </tr>
  100. <tr>
  101. <td>
  102. </td>
  103. <td><img src="http://localhost/alphacombles/wp-content/uploads/2014/01/velux-confort.jpg"style="width:70px;height:70px;"></td>
  104. <td><?php $velux="Velux&reg(CK01)";?><b>Fournitures et pose</b> Velux&reg(CK01) taille <?php echo $_SESSION['Formfenetre1']['taille']; ?> finition: bois vernis de vitrage confort(GGL3076) avec ouverture par rotation avec tuiles mécaniques et raccords (EW 0000),store occultant classsique(DKL) et volet roulant(SML) </td>
  105. <td><b>Prix total:<br/><?php echo $PrixTotal; ?></b></td></tr></table>
  106. <tr>
  107. </table><?php


  108. }
  109. }
  110. }
  111. else
  112. {
  113. $prixCatalogueRaccord=67;
  114. $prixStore=41;
  115. $prixVolet=0;
  116. $prixAccessoires=$prixStore+$prixVolet;
  117. $PrixremiseRaccord=$prixCatalogueRaccord*$remiseRaccord;
  118. $PrixTotalRaccord=$PrixRemise+$PrixremiseRaccord;
  119. $PrixTotal=$PrixTotalRaccord+$prixMDO+$prixAccessoires;
  120. $_SESSION['prixFen1']=$PrixTotal;
  121. ?>

  122. <table style="font-size:12px"><tr><td></td><td style="text-align:center;">
  123. <tr>
  124. <td>
  125. </td>
  126. <td>
  127. </td>
  128. <td style="text-align:center;">Description</td>
  129. <td style="text-align:center;">Prix</td>
  130. </tr>
  131. <tr>
  132. <td>
  133. </td>
  134. <td><img src="http://localhost/alphacombles/wp-content/uploads/2014/01/velux-confort.jpg"style="width:70px;height:70px;"></td>
  135. <td><?php $velux="Velux&reg(CK01)";?><b>Fournitures et pose</b> Velux&reg(CK01) taille 55x70 finition: bois vernis de vitrage confort(GGL3076) avec ouverture par rotation avec tuiles mécaniques et raccords (EW 0000),store occultant classsique(DKL) et sans volets </td>
  136. <td><b>Prix total:<br/><?php echo $PrixTotal; ?></b></td></tr></table>
  137. <tr>
  138. </table><?php

  139. }
  140. }
  141. else
  142. {
  143. if($_SESSION['store']=="storeOccultantEnergSolFenetre1")
  144. {
  145. if($_SESSION['volet']!="optionVoletFenetre1")
  146. {
  147. if($_SESSION['volet']=="optionSSLFenetre1")
  148. {
  149. $prixCatalogueRaccord=67;
  150. $prixStore=182;
  151. $prixVolet=526;
  152. $prixAccessoires=$prixStore+$prixVolet;
  153. $PrixremiseRaccord=$prixCatalogueRaccord*$remiseRaccord;
  154. $PrixTotalRaccord=$PrixRemise+$PrixremiseRaccord;
  155. $PrixTotal=$PrixTotalRaccord+$prixMDO+$prixAccessoires;
  156. $_SESSION['prixFen1']=$PrixTotal;
  157. ?>

  158. <table style="font-size:12px"><tr><td></td><td style="text-align:center;">
  159. <tr>
  160. <td>
  161. </td>
  162. <td>
  163. </td>
  164. <td style="text-align:center;">Description</td>
  165. <td style="text-align:center;">Prix</td>
  166. </tr>
  167. <tr>
  168. <td>
  169. </td>
  170. <td><img src="http://localhost/alphacombles/wp-content/uploads/2014/01/velux-confort.jpg"style="width:70px;height:70px;"></td>
  171. <td><?php $velux="Velux&reg(CK01)";?><b>Fournitures et pose</b> Velux&reg(CK01) taille 55x70 finition: bois vernis de vitrage confort(GGL3076) avec ouverture par rotation avec tuiles mécaniques et raccords (EW 0000),store occultant à energie solaire(DSL) et volet roulant(SSL) </td>
  172. <td><b>Prix total:<br/><?php echo $PrixTotal; ?></b></td></tr></table>
  173. <tr>
  174. </table><?php

  175. }
  176. else
  177. {
  178. if($_SESSION['volet']=="optionSMLFenetre1")
  179. {
  180. $prixCatalogueRaccord=67;
  181. $prixStore=182;
  182. $prixVolet=311;
  183. $prixAccessoires=$prixStore+$prixVolet;
  184. $PrixremiseRaccord=$prixCatalogueRaccord*$remiseRaccord;
  185. $PrixTotalRaccord=$PrixRemise+$PrixremiseRaccord;
  186. $PrixTotal=$PrixTotalRaccord+$prixMDO+$prixAccessoires;
  187. $_SESSION['prixFen1']=$PrixTotal;
  188. ?>

  189. <table style="font-size:12px"><tr><td></td><td style="text-align:center;">
  190. <tr>
  191. <td>
  192. </td>
  193. <td>
  194. </td>
  195. <td style="text-align:center;">Description</td>
  196. <td style="text-align:center;">Prix</td>
  197. </tr>
  198. <tr>
  199. <td>
  200. </td>
  201. <td><img src="http://localhost/alphacombles/wp-content/uploads/2014/01/velux-confort.jpg"style="width:70px;height:70px;"></td>
  202. <td><?php $velux="Velux&reg(CK01)";?><b>Fournitures et pose</b> Velux&reg(CK01) taille 55x70 finition: bois vernis de vitrage confort(GGL3076) avec ouverture par rotation avec tuiles mécaniques et raccords (EW 0000),store occultant à energie solaire(DSL) et volet roulant(SML) </td>
  203. <td><b>Prix total:<br/><?php echo $PrixTotal; ?></b></td></tr></table>
  204. <tr>
  205. </table><?php
  206. }
  207. }
  208. }
  209. else
  210. {
  211. $prixCatalogueRaccord=67;
  212. $prixStore=182;
  213. $prixVolet=0;
  214. $prixAccessoires=$prixStore+$prixVolet;
  215. $PrixremiseRaccord=$prixCatalogueRaccord*$remiseRaccord;
  216. $PrixTotalRaccord=$PrixRemise+$PrixremiseRaccord;
  217. $PrixTotal=$PrixTotalRaccord+$prixMDO+$prixAccessoires;
  218. $_SESSION['prixFen1']=$PrixTotal;
  219. ?>

  220. <table style="font-size:12px"><tr><td></td><td style="text-align:center;">
  221. <tr>
  222. <td>
  223. </td>
  224. <td>
  225. </td>
  226. <td style="text-align:center;">Description</td>
  227. <td style="text-align:center;">Prix</td>
  228. </tr>
  229. <tr>
  230. <td>
  231. </td>
  232. <td><img src="http://localhost/alphacombles/wp-content/uploads/2014/01/velux-confort.jpg"style="width:70px;height:70px;"></td>
  233. <td><?php $velux="Velux&reg(CK01)";?><b>Fournitures et pose</b> Velux&reg(CK01) taille 55x70 finition: bois vernis de vitrage confort(GGL3076) avec ouverture par rotation avec tuiles mécaniques et raccords (EW 0000),store occultant à energie solaire(DSL) et sans volet </td>
  234. <td><b>Prix total:<br/><?php echo $PrixTotal; ?></b></td></tr></table>
  235. <tr>
  236. </table><?php
  237. }
  238. }
  239. else
  240. {
  241. if($_SESSION['store']=="storeOccultaTamisFenetre1")
  242. {
  243. if($_SESSION['volet']!="optionVoletFenetre1")
  244. {
  245. if($_SESSION['volet']=="optionSSLFenetre1")
  246. {
  247. $prixCatalogueRaccord=67;
  248. $prixStore=76;
  249. $prixVolet=526;
  250. $prixAccessoires=$prixStore+$prixVolet;
  251. $PrixremiseRaccord=$prixCatalogueRaccord*$remiseRaccord;
  252. $PrixTotalRaccord=$PrixRemise+$PrixremiseRaccord;
  253. $PrixTotal=$PrixTotalRaccord+$prixMDO+$prixAccessoires;
  254. $_SESSION['prixFen1']=$PrixTotal;
  255. ?>

  256. <table style="font-size:12px"><tr><td></td><td style="text-align:center;">
  257. <tr>
  258. <td>
  259. </td>
  260. <td>
  261. </td>
  262. <td style="text-align:center;">Description</td>
  263. <td style="text-align:center;">Prix</td>
  264. </tr>
  265. <tr>
  266. <td>
  267. </td>
  268. <td><img src="http://localhost/alphacombles/wp-content/uploads/2014/01/velux-confort.jpg"style="width:70px;height:70px;"></td>
  269. <td><?php $velux="Velux&reg(CK01)";?><b>Fournitures et pose</b> Velux&reg(CK01) taille 55x70 finition: bois vernis de vitrage confort(GGL3076) avec ouverture par rotation avec tuiles mécaniques et raccords (EW 0000),store Duo "2 en 1" occultant et tamisant(DFD) et volet roulant(SSL) </td>
  270. <td><b>Prix total:<br/><?php echo $PrixTotal; ?></b></td></tr></table>
  271. <tr>
  272. </table><?php

  273. }
  274. else
  275. {
  276. if($_SESSION['volet']=="optionSMLFenetre1")
  277. {
  278. $prixCatalogueRaccord=67;
  279. $prixStore=76;
  280. $prixVolet=311;
  281. $prixAccessoires=$prixStore+$prixVolet;
  282. $PrixremiseRaccord=$prixCatalogueRaccord*$remiseRaccord;
  283. $PrixTotalRaccord=$PrixRemise+$PrixremiseRaccord;
  284. $PrixTotal=$PrixTotalRaccord+$prixMDO+$prixAccessoires;
  285. $_SESSION['prixFen1']=$PrixTotal;
  286. ?>

  287. <table style="font-size:12px"><tr><td></td><td style="text-align:center;">
  288. <tr>
  289. <td>
  290. </td>
  291. <td>
  292. </td>
  293. <td style="text-align:center;">Description</td>
  294. <td style="text-align:center;">Prix</td>
  295. </tr>
  296. <tr>
  297. <td>
  298. </td>
  299. <td><img src="http://localhost/alphacombles/wp-content/uploads/2014/01/velux-confort.jpg"style="width:70px;height:70px;"></td>
  300. <td><?php $velux="Velux&reg(CK01)";?><b>Fournitures et pose</b> Velux&reg(CK01) taille 55x70 finition: bois vernis de vitrage confort(GGL3076) avec ouverture par rotation avec tuiles mécaniques et raccords (EW 0000),store Duo "2 en 1" occultant et tamisant(DFD) et volet roulant(SML) </td>
  301. <td><b>Prix total:<br/><?php echo $PrixTotal; ?></b></td></tr></table>
  302. <tr>
  303. </table><?php
  304. }
  305. }
  306. }
  307. else
  308. {
  309. $prixCatalogueRaccord=67;
  310. $prixStore=76;
  311. $prixVolet=0;
  312. $prixAccessoires=$prixStore+$prixVolet;
  313. $PrixremiseRaccord=$prixCatalogueRaccord*$remiseRaccord;
  314. $PrixTotalRaccord=$PrixRemise+$PrixremiseRaccord;
  315. $PrixTotal=$PrixTotalRaccord+$prixMDO+$prixAccessoires;
  316. $_SESSION['prixFen1']=$PrixTotal;
  317. ?>

  318. <table style="font-size:12px"><tr><td></td><td style="text-align:center;">
  319. <tr>
  320. <td>
  321. </td>
  322. <td>
  323. </td>
  324. <td style="text-align:center;">Description</td>
  325. <td style="text-align:center;">Prix</td>
  326. </tr>
  327. <tr>
  328. <td>
  329. </td>
  330. <td><img src="http://localhost/alphacombles/wp-content/uploads/2014/01/velux-confort.jpg"style="width:70px;height:70px;"></td>
  331. <td><?php $velux="Velux&reg(CK01)";?><b>Fournitures et pose</b> Velux&reg(CK01) taille 55x70 finition: bois vernis de vitrage confort(GGL3076) avec ouverture par rotation avec tuiles mécaniques et raccords (EW 0000),store Duo "2 en 1" occultant et tamisant(DFD) et sans volet roulant </td>
  332. <td><b>Prix total:<br/><?php echo $PrixTotal; ?></b></td></tr></table>
  333. <tr>
  334. </table><?php
  335. }
  336. }
  337. else
  338. {
  339. if($_SESSION['store']=="storeMoustiquaireFenetre1")
  340. {
  341. if($_SESSION['volet']!="optionVoletFenetre1")
  342. {
  343. if($_SESSION['volet']=="optionSSLFenetre1")
  344. {
  345. }
  346. else
  347. {
  348. if($_SESSION['volet']=="optionSMLFenetre1")
  349. {
  350. }
  351. }
  352. }
  353. else
  354. {

  355. }
  356. }
  357. }
  358. }
  359. }
  360. if($_SESSION['store']!="optionVoletFenetre1")
  361. {
  362. }
  363. else
  364. {
  365. }
  366. }
  367. else
  368. {
  369. if($_SESSION['volet']!="optionVoletFenetre1")
  370. {
  371. }
  372. else
  373. {
  374. $prixCatalogueRaccord=67;
  375. $PrixremiseRaccord=$prixCatalogueRaccord*$remiseRaccord;
  376. $PrixTotalRaccord=$PrixRemise+$PrixremiseRaccord;
  377. $PrixTotal=$PrixTotalRaccord+$prixMDO;


  378. ?>
  379. <input name="" type="hidden" value=<?php echo $PrixTotal ;?>>

  380. <br/>
  381. <table style="font-size:12px"><tr><td></td><td style="text-align:center;">
  382. <tr>
  383. <td>
  384. </td>
  385. <td>
  386. </td>
  387. <td style="text-align:center;">Description</td>
  388. <td style="text-align:center;">Prix</td>
  389. </tr>
  390. <tr>
  391. <td>
  392. </td>
  393. <td><img src="http://localhost/alphacombles/wp-content/uploads/2014/01/velux-confort.jpg"style="width:70px;height:70px;"></td>
  394. <td><?php $velux="Velux&reg(CK01)";?><b>Fournitures et pose</b> Velux&reg(CK01) taille 55x70 finition: bois vernis TopFinish de vitrage confort(GGL3076) avec ouverture par rotation avec tuiles mécaniques et raccords (EW 0000) sans store ni volet </td>
  395. <td><b>Prix total:<br/><?php echo $PrixTotal; ?></b></td></tr></table>
  396. <tr>
  397. </table><?php
  398. }
  399. }

  400. }

  401. }
  402. }
  403. }

  404. }
  405. }
  406. }
  407. }
  408. else
  409. {
  410. echo'';
  411. }

  412. ?>
t.quentin
Bonjour,
Je suis en train de réaliser une application où j'ai plusieurs formulaires qui permettent de rechercher un produit et son prix.
Mon soucis est que quand je clique sur le bouton rechercher d'un formulaire le résultat qu'afficher le formulaire précédent ne s'affiche plus car les $ post sont vides.
Donc j'aurai voulus savoir si vous aviez une solution.
Cordialement,
T.quentin.

Ses derniers commentaires de news

Aucun commentaire de news

Ses derniers commentaires de sites

Aucun commentaire de sites

Ses derniers commentaires de wall

Aucun commentaire wall
LoadingChargement en cours