Hello
C'est dans le titre !
Je veux faire un mail en HTML et j'accumule les erreurs !
et envoyer ça :
(ça s'affiche correctement à l'écran)
Merci du coup de main, c'est urgent, j'ai pris trop de retard la dessus !
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 <p><b>Commande N° <?php echo $commande ?></b></p> <table width="500"> <tr> <td class=\"gris\" width=\"80% \"><center><b>Libellé</b></center></td> <td class=\"gris\"><center><b>Quantité</b></center></td> <td class=\"gris\"><center><b>P.U.</b></center></td> </tr>; <?php for ($i=0 ;$i < $nbArticles ; $i++) { echo '<tr>'; echo '<td>'; echo htmlspecialchars($_SESSION['panier']['libelleProduit'][$i]); echo '</ td>'; echo '<td align=\"center\" width=\"10% \">';echo '<center>'.htmlspecialchars($_SESSION['panier']['qteProduit'][$i]).' </td>'; echo "<td align=\"center\" width=\"10% \">";echo htmlspecialchars($_SESSION['panier']['prixProduit'][$i]);echo" € </td>"; echo "</tr>"; } echo '<tr><td colspan=\"3\"><b>Frais de port : '. $pays.' ' .$frais. ' € </b></td></tr>'; echo '<tr><td colspan=\"3\"><b>Total Facture : '. MontantGlobal(). ' € </b></td></tr>'; echo'</table>'; ?>
Partager