Password Reminder
""){ $stmt = $pdodb->prepare("SELECT * FROM girls WHERE (username=:user OR emailis=:user) LIMIT 1"); $stmt->setFetchMode(PDO::FETCH_ASSOC); $stmt->execute(array(':user' => trim($_REQUEST["useris"]))); if ($stmt->rowCount() > 0) { //echo 'found'; while($i2=$stmt->fetch()){ $user_id = $i2["ID"]; $useris = $i2["username"]; $emailis = $i2["emailis"]; $passis = $i2["password"]; } $subject = 'BigBex Account Login Information'; $body = ' Username: '.$useris.' Password: '.$passis.' Email: '.$emailis.' http://www.BigBex.com '; //echo $email; sendmail('', $emailis, $subject, $body); echo 'user found. Password sent to your email ('.$emailis.')

'; }else{ echo 'user not found

'; } } ?>
Username or Email: