if ($row = mysql_fetch_array($result)){ $email = $row['email']; header ('location:psw3.php'); exit; }