progetto fatto precedentemente adattato al framework creato con il corso
filippo.bertilotti
2024-06-10 7d7d7a336e8674a54292abe992b260d9cd2db192
commit | author | age
15e03a 1 <body>
F 2     <h1>Products</h1>
3
4     <a href="/products/new">New Product</a>
5
6     <p>Total: <?= $total ?></p>
7
8     <?php foreach ($products as $product): ?>
9         <h2>
10             <a href="/products/<?= $product["id"] ?>/show">
11                 <?= htmlspecialchars($product["name"]) ?>
12             </a>
13         </h2>
14     <?php endforeach; ?>
15 </body>
16 </html>