From 24c6fdf5fab5a8070a73c6723f9c2cbe4f8ca773 Mon Sep 17 00:00:00 2001 From: Jay Date: Mon, 15 Nov 2021 13:09:11 +0100 Subject: [PATCH] Rename wishlist --- includes/pages/wishlist.php | 43 ------------------------------------- 1 file changed, 43 deletions(-) delete mode 100644 includes/pages/wishlist.php diff --git a/includes/pages/wishlist.php b/includes/pages/wishlist.php deleted file mode 100644 index 1f5be44a..00000000 --- a/includes/pages/wishlist.php +++ /dev/null @@ -1,43 +0,0 @@ - - */ - -use wishthis\Page; - -$page = new page(__FILE__, 'Home'); - -if (isset($_POST['name'])) { - $database->query('INSERT INTO `wishlists` - (`user`, `name`) VALUES - (' . $_SESSION['user']['id'] . ', "' . $_POST['name'] . '") - ;'); - - $_SESSION['user'] = $user; - - header('Location: ?page=home'); - die(); -} - -$page->header(); -?> -
-
-

Create a wishlist

- -
-
- - -
- - -
-
-
- -footer();