*/ 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();