From 1eff402091f33fd8cf523216b3e50e63bd7f8452 Mon Sep 17 00:00:00 2001 From: Andrea Fiorencis Date: Tue, 7 Apr 2026 23:03:58 +0200 Subject: [PATCH] Creazione pagina account personale --- account.php | 41 +++++++++++++++++++++++++++++++++++++++++ cart.php | 2 +- index.php | 2 +- product.php | 2 +- 4 files changed, 44 insertions(+), 3 deletions(-) create mode 100644 account.php diff --git a/account.php b/account.php new file mode 100644 index 0000000..29c8647 --- /dev/null +++ b/account.php @@ -0,0 +1,41 @@ +query($sql); + +if ($result === false) { + die("Errore nella query: " . $conn->error); +} +?> + + + + + + + Il mio account - TechStore + + + + +
+ +
+ + + + Benvenuto, + + + +
+
+ + + + close(); ?> + + diff --git a/cart.php b/cart.php index 24732c2..eb6fd1d 100644 --- a/cart.php +++ b/cart.php @@ -18,7 +18,7 @@ session_start(); - Benvenuto, + Benvenuto, diff --git a/index.php b/index.php index af02b1d..b6c7007 100644 --- a/index.php +++ b/index.php @@ -27,7 +27,7 @@ if ($result === false) { - Benvenuto, + Benvenuto, diff --git a/product.php b/product.php index 80675ba..7205975 100644 --- a/product.php +++ b/product.php @@ -38,7 +38,7 @@ if ($stmt = $conn->prepare($sql)) { - Benvenuto, + Benvenuto,