<thead> <tr> <th>Articolo</th> <th>Taglia</th> <th>Quantità</th> <th>Prezzo (unità)</th> </tr> </thead> <tbody> <?php while ($item = $items->fetchArray()) { echo "<tr>"; echo "<td>" . $item["oggetto"] . "</td>"; echo "<td>" . $item["taglia"] . "</td>"; echo "<td>" . $item["quantity"] . "</td>"; $prezzo = $db->getPrice($item["oggetto"], $item["taglia"]); echo "<td>€ " . number_format((double) $prezzo, 2, ',', '') . "</td>"; echo "</tr>"; } if ($costoGestioneOrdine != 0) { echo "<tr>"; echo "<td>Costo Gestione Ordine</td>"; echo "<td>-</td>"; echo "<td>-</td>"; echo "<td>€ " . number_format((double) $costoGestioneOrdine, 2, ',', '') . "</td>"; echo "</tr>"; } ?> <tr> <td></td> <td></td>