diff --git a/index.php b/index.php new file mode 100644 index 0000000..aaa03a9 --- /dev/null +++ b/index.php @@ -0,0 +1,66 @@ +query($sql); + +if ($result === false) { + die("Errore nella query: " . $conn->error); +} +?> + + + + + + + TechStore - Prodotti + + + +

Prodotti TechStore

+ + num_rows > 0): ?> + + + + fetch_fields(); + foreach ($fields as $field) { + echo ""; + } + ?> + + + + fetch_assoc()): ?> + + + + + + + +
" . htmlspecialchars($field->name) . "
+ +

Nessun prodotto trovato.

+ + + close(); ?> + +