-
Notifications
You must be signed in to change notification settings - Fork 0
/
Forgot account.php
58 lines (57 loc) · 1.96 KB
/
Forgot account.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<?php
include('connection.php');
error_reporting(1);
extract($_REQUEST);
if(isset($submit))
{
$sql=mysqli_query($con,"select * from create_account where email='$email' ");
if(mysqli_num_rows($sql))
{
$res=mysqli_fetch_assoc($sql);
$error= "<h3 style='color:blue'>Your Passwrod is :".$res['password']."</h3>";
}
else
{
$error= "<h3 style='color:red'>Invalid details</h3>";
}
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<title>La Velle</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/js/bootstrap.min.js"></script>
<link href="css/style.css"rel="stylesheet"/>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
</head>
<body style="margin-top:50px;">
<?php
include('Menu Bar.php')
?>
<div class="container-fluid"id="primary"> <!-- Primary Id-->
<div class="container">
<div class="row">
<div class="col-sm-3"></div>
<div class="col-sm-6">
<h1 style="margin-top:50px;padding-top:50px;">Forgot Account?</h1><hr>
<?php echo @$error; ?>
<p class="text-center">Please Enter your Email-id or Phone Number to Find Your Account.</p><br><br>
<form method="post">
<div class="form-group">
<input type="Email" name="email" class="form-control" id="#"placeholder="Email Id or Phone Number"required>
</div><hr>
<input type="submit" value="submit" name="submit" class="btn btn-primary btn-group-justified"required>
</form><br><br><br><br>
</div>
</div>
</div>
</div>
<?php
include('Footer.php')
?>
</body>
</html>