single("id", "members", "WHERE username='" . $_POST['username'] . "' OR email='" . $_POST['email'] . "'"); //we found the member, let's create a session with this member's information if ($id) { $_SESSION['database'] = $database; //if you're using PHP 5 you need to remove the ampersand & below $_SESSION['member'] = & new member($id); //send their lost password information $error = $_SESSION['member']->sendPassword(); } else //we didn't find them anywhere $error = errorMsg("Username or email not found"); } ?> Pits of Doom
Pits of Doom Lost Password
Not a member? create an account or login to start playing
" . $error; //if there is an error show them here ?>

Username: - OR - Email: