0) { echo "
"; echo ""; echo ""; echo "
"; # Reset index della query mysqli_data_seek($result, 0); } if(isset($_GET["orderId"])){ echo ""; echo ""; echo ""; echo ""; while ($row = mysqli_fetch_assoc($result)) { echo ""; echo "" ; echo "" ; echo ""; echo "" ; echo ""; echo ""; } } if(!isset($_GET["customerId"]) && !isset($_GET["orderId"])){ echo "
ID ProdottoNome ProdottoQuantità per unitàPrezzoQuantità ordinata
" . $row['ProductID'] . "" . $row['ProductName'] . "" . $row['Unit'] . "" . $row['Price'] . "$" . $row['order_quantity'] . "
"; while ($row = mysqli_fetch_assoc($result)) { echo ""; echo "" ; echo "" ; echo "" ; echo ""; } echo "
" . $row['CustomerID'] . "" . $row['CustomerName'] . "Visualizza Ordini
"; } } ?>