*/ use wishthis\Page; $page = new page(__FILE__, 'Register'); if (isset($_POST['email'], $_POST['password'])) { $database->query('INSERT INTO `users` (`email`, `password`) VALUES ("' . $_POST['email'] . '", "' . sha1($_POST['password']) . '") ;'); header('Location: /?page=login'); die(); } $page->header(); $page->navigation(); ?>

Register

footer();