Published in: PHP
$alert = ""; { $db->query("SELECT username, password FROM users WHERE email = '$email'"); $alert = "<div class='alert'>We're sorry, but we could not find a user with that email address.</div>"; else { $alert = "<div class='alert'>Your username and password have been emailed to you.</div>"; $username = $row['username']; $password = $row['password']; $msg = "Your login information is:\n\n"; $msg .= "Username: $username\n"; $msg .= "Password: $password\n"; } }
Comments
Subscribe to comments
You need to login to post a comment.

password stored as clear text?