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