views/Products/show.php
@@ -1,5 +1,8 @@ <body> Show the product with ID <?= $id ?> here <h1><?= $product["name"] ?></h1> <p><?= $product["description"] ?></p> <p><a href="/products/<?= $product["id"] ?>/edit" >Edit</a></p> </body> </html>