<html>
<body>
<form action="forgotpassword.php" method="post">
E-mail: <input type="text" name="email" size="24"><br>
<input type="submit" name="submit" value="submit">
</form>
<?php
include "config.php";
if(isset($_POST['submit'])){
$email=$_POST['email'];
$sql = "SELECT password FROM simple WHERE email='".$email."'";
$display=mysql_query($sql);
$row = mysql_fetch_assoc($display);
print_r($row);
}
?>
</body>
</html>
Post a Comment