From 79b48c2dd866500272aef31239b7a1321e2ddc8d Mon Sep 17 00:00:00 2001 From: Andrea Fiorencis Date: Wed, 25 Feb 2026 10:50:41 +0100 Subject: [PATCH] Fix + aggiunta tabella ordini per cliente --- index.php | 40 ++++++++++++++++++++++++++++++++++------ 1 file changed, 34 insertions(+), 6 deletions(-) diff --git a/index.php b/index.php index 4d845dd..750d9aa 100644 --- a/index.php +++ b/index.php @@ -1,15 +1,15 @@ Northwind Clients - + Ordini del cliente " . $customer_id . ""; + echo ""; + echo ""; + if (mysqli_num_rows($result) == 0) { + echo ""; + } + else { + echo ""; + } + echo ""; + while ($row = mysqli_fetch_assoc($result)) { + echo ""; + echo "" ; + echo ""; + } + echo "
Il cliente ". $customer_id ." non ha ordiniID Ordine
" . $row['OrderID']."
"; + } + else if(isset($_GET["orderid"])){ + echo "WIP"; + } + else { + echo "ERROR: FANKYULO"; + } + } + ?> \ No newline at end of file