From 65a88933f7b4abf53a1d995bb52286f28aefcebe Mon Sep 17 00:00:00 2001 From: Andrea Fiorencis Date: Wed, 18 Feb 2026 11:44:45 +0100 Subject: [PATCH] =?UTF-8?q?Spostamento=20tag=20tabella=20per=20migliore=20?= =?UTF-8?q?leggibilit=C3=A0=20pagina=20+=20script=20PHP?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.php | 47 +++++++++++++++++++++++++++-------------------- 1 file changed, 27 insertions(+), 20 deletions(-) diff --git a/index.php b/index.php index 57e489e..b918a67 100644 --- a/index.php +++ b/index.php @@ -28,27 +28,34 @@ $id = $_GET["Selezione"]
- - IDNameUnitPrice"; - while($row = mysqli_fetch_assoc($result)){ - if($row["CategoryID"] == $id){ - echo ""; - echo "" . $row["ProductID"] . ""; - echo "" . $row["ProductName"] . ""; - echo "" . $row["Unit"] . ""; - echo "" . $row["Price"] . ""; - echo ""; + + + + + + + + + "; + echo ""; + echo ""; + echo ""; + echo ""; + echo ""; + } } } - echo "
IDNameUnitPrice
" . $row["ProductID"] . "" . $row["ProductName"] . "" . $row["Unit"] . "" . $row["Price"] . "
"; - } - else{ - echo "Errore nella query: " . mysqli_error($conn); - } - ?> + else{ + echo "Errore nella query: " . mysqli_error($conn); + } + ?> + \ No newline at end of file