-
Notifications
You must be signed in to change notification settings - Fork 1
/
pending.php
52 lines (45 loc) · 1.09 KB
/
pending.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
<html>
<head> <link rel="stylesheet" type="text/css" href="style2.css"/></head>
<body>
<center><br><br>
<h1>DETAILS OF USER</h1>
<?php
$connection=mysql_connect("localhost","root");
mysql_select_db("budget");
$sql="select * from register where stat='PENDING'";
$record=mysql_query($sql);
?>
<center><br><br>
<table width ="800" border="1" cellpadding="5" cellspacing="1">
<tr>
<th>EMPLOYEE ID</th>
<th>FIRST NAME</th>
<th>LAST NAME</th>
<th>DATE OF BIRTH</th>
<th>GENDER</th>
<th>USERNAME</th>
<th>EMAIL</th>
<th>PASSWORD</th>
<th>MOBILE NUMBER</th>
<th>USER TYPE</th>
<tr>
<?php
while($req=mysql_fetch_assoc($record))
{
echo "<tr>";
echo "<td>".$req['emp']."</td>";
echo "<td>".$req['fname']."</td>";
echo "<td>".$req['lname']."</td>";
echo "<td>".$req['dob']."</td>";
echo "<td>".$req['gender']."</td>";
echo "<td>".$req['uname']."</td>";
echo "<td>".$req['email']."</td>";
echo "<td>".$req['pwd']."</td>";
echo "<td>".$req['mno']."</td>";
echo "<td>".$req['utype']."</td>";
echo "</tr>";
}
?>
</center>
</body>
</html>