*/ use wishthis\Page; $page = new page(__FILE__, 'Create a wishlist'); if (isset($_POST['name'])) { $database->query('INSERT INTO `wishlists` (`user`, `name`) VALUES (' . $_SESSION['user']['id'] . ', "' . $_POST['name'] . '") ;'); header('Location: ?page=home'); die(); } $page->header(); $page->navigation(); ?>

title ?>

footer();